从Nant脚本启动Gallio testrunner时出现内部错误



当Gallio启动并开始使用watiN运行回归测试时,我得到以下错误:

           [gallio] Gallio NAnt Task - Version 3.2 build 744
           [gallio] Start time: 1:07 PM
           [gallio] Stop time: 1:07 PM (Total execution time: 0.285 seconds)

        BUILD FAILED - 0 non-fatal error(s), 2 warning(s)
        INTERNAL ERROR
        System.InvalidCastException: Unable to cast object of type 'Gallio.Runner.Projects.DefaultTestProjectManager' to type 'Gallio.Runner.Projects.ITestProjectManager'. at Gallio.Runtime.Extensibility.RegistryServiceLocator.Resolve[TService]() in c:ServerProjectsMbUnitv3.2WorksrcGallioGallioRuntimeExtensibilityRegistryServiceLocator.cs:line 52 at Gallio.Runner.TestLauncher.RunWithRuntime() in c:ServerProjectsMbUnit v3.2WorksrcGallioGallioRunnerTestLauncher.cs:line 513 at Gallio.Runner.TestLauncher.Run() in c:ServerProjectsMbUnitv3.2WorksrcGallioGallioRunnerTestLauncher.cs:line 480 at Gallio.NAntTasks.GallioTask.RunLauncher(TestLauncher launcher)
           at Gallio.NAntTasks.GallioTask.InternalExecute()
           at Gallio.NAntTasks.GallioTask.ExecuteTask()
           at NAnt.Core.Task.Execute()
           at NAnt.Core.Target.Execute()
           at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)

关于如何解决这个问题,有什么建议吗?

尝试升级到Gallio 3.3.1。

相关内容

  • 没有找到相关文章

最新更新