Nunit-console.exe使用Nant和Bamboo失败,返回码7 [英] Nunit-console.exe fails with return code 7 using Nant and Bamboo
本文介绍了Nunit-console.exe使用Nant和Bamboo失败,返回码7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Bamboo构建服务器上运行nunit测试时,我得到的不是太大的saing错误. 它导致将构建结果显示为红色,并表明项目只有27个单元测试并且所有测试都通过了(项目有500多个测试,并且有些失败) 我尝试在本地计算机上使用nunit-console运行相同的测试,但是它运行没有任何问题. 竹日志:
I'm getting not too much saing error while running nunit test on Bamboo build server. It causes showing build resuts as red and shows that project has only 27 unit test and all they passing (project has more than 500 tests and some are failing) I've tried to run the same test using nunit-console on my local machine, but it runs without any problems. Bamboo log:
[exec] D:\BambooAgent\..\nant.build(277,5):
[exec] External Program Failed: C:\Program Files\NUnit 2.5.9\bin\net-2.0\nunit-console.exe (return code was 7)
您是否有任何想法我该如何调试此问题或return code 7
是什么意思?
Do you have any ideas how can I debug this problem or what return code 7
means?
推荐答案
查看全文