2010-06-23 5 views
3

Gallio를 설치하지 않고도 Icarus 및/또는 Echo로 MbUnit 테스트를 실행하고 싶습니다. GallioBundle/bin에있는 모든 파일을 프로젝트 폴더에 Third Party/MbUnit이라는 폴더에 복사했습니다.Gallio가 GallioBundle-3.1.397.0/bin 폴더에 있어야 실행되는 것 같습니다

Gallio.Icarus.exe을 더블 클릭하면로드되지 않거나 아무 것도 수행하지 않습니다.

나는 다음과 같은 오류 얻을 명령 줄에서 gallio.echo.exe를 실행하면 : 나는 내 D/리터 폴더에 압축을 해제 한 곳에서 실행하는 경우, 그러나

Start time: 1:07 PM Initializing the runtime and loading plugins. Stop time: 1:07 PM (Total execution time: 0.313 seconds) Error: A fatal exception occurred. Gallio.Runtime.RuntimeException: Could not resolve component for service type 'Gallio.Runner.Projects.ITestProjectManager' because there do not appear to be any components registered and enabled for that service type. at Gallio.Runtime.Extensibility.RegistryServiceLocator.ResolveNonDisabledDescriptor(Type serviceType) in c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Runtime\Extensibility\RegistryServiceLocator.cs:line 202 at Gallio.Runtime.Extensibility.RegistryServiceLocator.ResolveImpl(Type serviceType) in c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Runtime\Extensibility\RegistryServiceLocator.cs:line 161 at Gallio.Runtime.Extensibility.RegistryServiceLocator.ResolveTService in c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Runtime\Extensibility\RegistryServiceLocator.cs:line 52 at Gallio.Runner.TestLauncher.RunWithRuntime() in c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Runner\TestLauncher.cs:line 511 at Gallio.Runner.TestLauncher.Run() in c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Runner\TestLauncher.cs:line 474 at Gallio.Echo.EchoProgram.RunTests(ILogger logger) at Gallio.Echo.EchoProgram.RunImpl(String[] args) at Gallio.Runtime.ConsoleSupport.ConsoleProgram`1.Run(IRichConsole console, String[] args) in c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Runtime\ConsoleSupport\ConsoleProgram.cs:line 198

을 :

GallioBundle-3.1.397.0/bin Icarus UI comes up. Also... gallio.echo gives no errors when I run it at the command line. This makes no sense to me but there it is.

내 프로젝트 폴더에서 Gallio를 실행하지 않는 이유는 무엇입니까?

답변

1

를 실행할 수 있습니다 시도하는 또 한가지. 폴더 이름을 Gallio로 바꿨을 때 모든 것이 제대로 작동하기 시작했습니다.

Gallio 개발자는이 파일을 복제 할 수 없다고 말하지만 일관성이 있으며 폴더 이름을 다시 변경하고 오류가 다시 발생했습니다.

3

정상적으로 작동합니다. Gallio는 실제로 폴더가 무엇인지에 대해 신경 쓰지 않습니다. 위의 오류는 대개 일부 파일이없는 경우에 나타납니다.

"Gallio.Utility.exe ResetInstallationId"MbUnit에라는 이름의 폴더에있는 바이너리 파일을 가진 문제를 일으키는 것을 보인다

+1

동의합니다, 작동해야하지만 그렇지 않습니다. 나는 그것을 얻지도 않는다. BTW : 설치 프로그램을 실행하지 않았습니다. 난 그냥 이진 번들을 사용하고 있습니다. – PilotBob

+1

바이너리 번들을 사용할 때 같은 문제가 발생했습니다. "Lib \ Gallio"디렉토리 구조에 압축을 풀면 Gallio.Echo.exe가 위의 오류를 발생시킵니다. "GallioBundle-3.3.458.0 \ bin"디렉터리에 넣으면 제대로 작동합니다. 그리고 나서 그걸 어디에두면 좋을까요? 슈퍼 이상한. –

3

폴더 이름은 중요하지 않습니다.

첫 실행시 Gallio는 폴더의 플러그인을 검색하여 XML 파일 %LocalAppData%\Gallio\Plugin Metadata Cache에 씁니다. Gallio의 깨진 설치에서 실행 파일을 실행하면 (예 : 일부 파일이 누락 될 수 있음) Gallio가 캐시하고 나중에 파일을 수정하더라도 메타 데이터의 캐시 된보기가 표시되므로 설치가 중단되었다고 생각됩니다 . Gallio를 다른 폴더로 옮기면 해당 폴더에 대한 캐시가 다시 만들어지고 파일이 실제로 모두 제공되면 다시 작동하기 시작합니다.

다음 수정 프로그램은 Plugin Metadata Cache 폴더를 지우는 것입니다.

+0

당신은 말합니다. 그러나 나는 그것을 확인했습니다. 내가 물건을 본 것 같니? – PilotBob

+0

'bin /'폴더를 찾기 위해 어딘가에 하드 코딩되지 않았기 때문에 직접적으로 중요하지 않습니다. 우키 한 시동 후에 캐쉬가 쓰러지고 캐시를 죽일 때까지 Gallio를 실행할 수 없습니다. –

+0

글쎄, 문제는 이전에 해결되었습니다. 하지만 Gallio와 mbunit에서 마이그레이션 할 때가되었습니다. 그들은 더 이상 지키지 않는 것 같습니다. – PilotBob

관련 문제