2012-05-17 6 views
0

Visual Studio에서 단위 테스트를 실행하려고하면 다음 오류가 발생합니다. 나는 조금 찌르다가 Gallio와 TD.Net을 다시 설치했지만 여전히 같은 오류가 발생합니다. 나는 시작 위치에 대한 종류의 우둔 해요, 및 검색 구글은 C에Visual Studio에서 TestDriven.Net을 사용하여 MBUnit 테스트를 실행하는 중 오류가 발생했습니다.

Gallio.Runtime.Extensibility.PluginCatalog.RegisterComponents에서
Gallio.Loader.LoaderException: Gallio.Loader.LoaderException: Failed to setup the runtime. ---> Gallio.Runtime.RuntimeException: The runtime could not be initialized. ---> Gallio.Runtime.RuntimeException: Could not register component 'TDNetRunner.UI.PlaceholderPreferencePaneProvider' of plugin 'Gallio.TDNetRunner.UI' because it implements service 'Gallio.UI.PreferencePaneProvider' which was not found in the registry. 

(IRegistry 레지스트리은 IList 1 topologicallySortedPlugins, IList 1 pluginDescriptors) ... 다음 아무것도 변합니다 : \ Server \ Projects \ MbUnit v3.3 \ Work \ src \ Gallio \ Gallio \ Runtime \ Extensibility \ PluginCatalog.cs : 행 225 Gallio.Runtime.Extensibility.PluginCatalog.ApplyTo (IRegistry 레지스트리)의 c : \ Server \ Projects \ MbUnit v3.3 \ Work \ src \ Gallio \ Gallio \ Runtime \ Extensibility \ PluginCatalog.cs : 줄 69 에서 Gallio.Runtime.DefaultRuntime.RegisterLoadedPlugins() in c : \ Server \ Projects \ MbUnit v3.3 \ Work \ src \ Gallio \ Gallio \ Runtime \ DefaultRuntime.cs : 줄 270 at Gallio.Runtime.De faultRuntime.Initialize() in c : \ Server \ Projects \ MbUnit v3.3 \ Work \ src \ Gallio \ Gallio \ Runtime \ DefaultRuntime.cs : 줄 170 --- 내부 예외 스택 추적 끝 --- Gallio에서 Gallio \ Gallio \ Runtime \ DefaultRuntime.cs : 줄 197 Gallio.Runtime.RuntimeBootstrap.Initialize (RuntimeSetup 설치 프로그램)에서 .Runtime.DefaultRuntime.Initialize() C : \ Server \ Projects \ MbUnit \ Gallio \ Gallio \ Gallio \ Runtime \ RuntimeBootstrap.cs : 줄 74 Gallio.Runtime.Loader.GallioLoaderBootstrap.SetupRuntime (String runtimePath) in c : \ Server \ Projects \ MbUnit \ \ Server \ Projects \ MbUnit v3.3 \ Work \ src \ Gallio \ Gallio \ Runtime \ Loader \ GallioLoaderBootstrap.cs : 줄 49 --- 내부 예외 스택 추적 끝 --- Gallio.Loader.LoaderManager.LoaderImpl .SetupRuntime() , Gallio.Loader. Gallio.Loader.SharedEnvironment.SharedEnvironmentManager에서 Gallio.Loader.Isolation.IsolatedEnvironmentManager.IsolatedEnvironment.SetupRuntime() 에서 Gallio.Loader.Isolation.IsolatedEnvironmentManager.IsolatedEnvironment.UnwrapException (예외 예) 에서 Isolation.IsolatedEnvironmentManager.IsolatedInitializer.SetupRuntime() Gallio.TDNetRunner.Core.LocalProxyTestRunner.RunImpl (IFacadeTestListener testListener, 문자열 assemblyPath, 문자열 CREF에서 Gallio.TDNetRunner.Core.LocalProxyTestRunner.CreateRemoteProxyTestRunner() 에서 Gallio.Loader.SharedEnvironment.SharedEnvironmentManager.GetSharedEnvironment() 에서 .CreateSharedEnvironment() , FacadeOptions facadeOptions) 에서 Gallio.TDNetRunner.Core.BaseProxyTestRunner.Run (IFacadeTestListener testListener, 문자열 어셈블리 경로, Strin g cref, FacadeOptions facadeOptions) System.Runtime.Remoting.ServerException : Gallio.Loader.LoaderException : Gallio.Loader.LoaderException : 런타임을 설정하지 못했습니다. ---> Gallio.Runtime.RuntimeException : 런타임을 초기화 할 수 없습니다. ---> Gallio.Runtime.RuntimeException : 'Gallio.TUIetRunner.UI'플러그인의 구성 요소 'TDNetRunner.UI.PlaceholderPreferencePaneProvider'를 등록 할 수 없습니다. 레지스트리에서 찾을 수없는 'Gallio.UI.PreferencePaneProvider'서비스가 구현되어 있기 때문입니다. Gallio.Runtime.Extensibility.PluginCatalog.RegisterComponents에서 갈 리오에서 Gallio.Runtime.DefaultRuntime.RegisterLoadedPlugins에서 Gallio.Runtime.Extensibility.PluginCatalog.ApplyTo (IRegistry 레지스트리) () 에서 (IRegistry 레지스트리은 IList 1 topologicallySortedPlugins, IList 1 pluginDescriptors) . Runtime.DefaultRuntime.Initialize() --- 갈 리오에서 Gallio.Runtime.RuntimeBootstrap.Initialize (RuntimeSetup 설정, ILogger입니다 로거) 에서 Gallio.Runtime.DefaultRuntime.Initialize() 에서 내부 예외 스택 추적 --- 의 끝 .Runtime.Loader.GallioLoaderBootstrap.SetupRuntime (String runtimePath) --- 내부 예외 스택 추적 끝 --- at Gallio.Loader.LoaderManager.LoaderImpl.SetupRuntime() Gallio.Loader.Isolation.IsolatedEnvironmentManager.IsolatedInitializer.Gallio.Loader.SharedEnvironment.SharedEnvironmentManager.CreateSharedEnvironment() 에서 Gallio.Loader.Isolation.IsolatedEnvironmentManager.IsolatedEnvironment.SetupRuntime() 에서 Gallio.Loader.Isolation.IsolatedEnvironmentManager.IsolatedEnvironment.UnwrapException (예외 예) 에서 SetupRuntime() 에서 Gallio.TDNetRunner.Core.LocalProxyTestRunner.RunImpl (IFacadeTestListener testListener, 문자열 assemblyPath, 문자열 CREF, facadeOptions facadeOptions) 에서 Gallio.TDNetRunner.Core.LocalProxyTestRunner.CreateRemoteProxyTestRunner() 에서 Gallio.Loader.SharedEnvironment.SharedEnvironmentManager.GetSharedEnvironment() 에서 Gallio.TDNetRunner.Core.BaseProxyTestRunner.Run (IFacadeTestListener testListener, String assemblyPath, String cref, FacadeOptions facadeOptions)Gallio.TDNetRunner.GallioResidentTestRunner.Run에서 Gallio.TDNetRunner.Core.BaseProxyTestRunner.Run (IFacadeTestListener testListener, 문자열 assemblyPath, 문자열 CREF, FacadeOptions facadeOptions) (ITestListener testListener, 문자열 assemblyFile, 문자열 CREF) 에서TestDriven.TestRunner.AdaptorTestRunner에서

0 통과 TestDriven.TestRunner.ThreadTestRunner.Runner.Run에서 .RUN (ITestListener testListener, ITraceListener TraceListener에서, 문자열 assemblyPath, 문자열 testPath) (), 1, 0이 생략 실패했다 4.01 초 (MbUnit에의 V3.3) .

답변

0

최근에 비슷한 설정을 실행한다고 가정하고 Windows Vista (32 비트)에서 JetBrains ReSharper 7.1.10000.900, GallioBundle 3.4.14.0 및 TestDriven.NET 3.4.2808이 설치된 Visual Studio 2012를 실행하는 비슷한 문제가 발생했습니다.

  1. 종료 비주얼 스튜디오
  2. 제거 ReSharper에서와 TD.Net의 모든 사본은
  3. 먼저 갈 리오와 ReSharper에서
  4. 을 다시 설치 : 위의 광산, 나는 다음을 수행하여이 문제를 해결할 수 있었다 최신 TestDriv 설치 en (내 경우 3.4.2808 개인)
  5. Visual Studio를 시작하고 마우스 오른쪽 버튼을 클릭하여 테스트를 실행하십시오.
관련 문제