当我运行这个:
sh "#{MBUNIT_PATH}Gallio.Echo.exe /no-echo-results src/#{dll}/bin/Debug/#{dll}.dll"
在我的 rakefile 中,Gallio 运行我的 mbunit 测试,然后TeamCity获取结果:D
但是这个:
sh "#{NUNIT_PATH}nunit-console.exe /nologo src/#{dll}/bin/Debug/#{dll}.dll"
确实运行了我的测试,但 TeamCity 没有得到结果:(
我首先尝试通过Gallio运行我的NUnit测试,但它没有检测到任何测试:(
使用 teamcity NUnit 启动器,我得到:
Failure executing test(s) on assembly nunittests.dll with NUnit 2.5.0.9122. Version 2.0 is not a compatible version.
对此有什么解决方案?如何让 Gallio 接受我的 NUnit 测试,或者如何让 nunit-console 被 TeamCity 接受。