首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >从Nant脚本启动Gallio testrunner时出现内部错误

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

Stack Overflow用户
提问于 2012-01-21 03:13:31
回答 1查看 118关注 0票数 0

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

代码语言:javascript
复制
           [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:\Server\Projects\MbUnitv3.2\Work\src\Gallio\Gallio\Runtime\Extensibility\RegistryServiceLocator.cs:line 52 at Gallio.Runner.TestLauncher.RunWithRuntime() in c:\Server\Projects\MbUnit v3.2\Work\src\Gallio\Gallio\Runner\TestLauncher.cs:line 513 at Gallio.Runner.TestLauncher.Run() in c:\Server\Projects\MbUnitv3.2\Work\src\Gallio\Gallio\Runner\TestLauncher.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)

对如何解决这个问题有什么建议吗?

EN

回答 1

Stack Overflow用户

发布于 2012-01-23 13:08:06

尝试升级到Gallio 3.3.1。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/8946644

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档