在TeamCity中设置Gallio和NbUnit的分步过程 [英] Step by step process for setting up Gallio and NbUnit within TeamCity
本文介绍了在TeamCity中设置Gallio和NbUnit的分步过程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经在互联网上搜索了一些参考资料,说Gallio和NbUnit可以在TeamCity中运行,这是构建过程的一部分.
I have searched the internet and found a few references saying that Gallio and NbUnit can run within TeamCity as part of the build process.
我正在针对解决方案文件运行构建,并且需要TeamCity来运行解决方案中的所有测试.
I am running my builds against the solutions files and need TeamCity to run all the test in the solution.
是否有逐步的过程可以在TeamCity中的任何地方设置Gallio和NbUnit?
Is there a step by step process for setting up Gallio and NbUnit within TeamCity anywhere?
推荐答案
您可以通过MSBuild完成此操作
You can do this through MSBuild
<!-- Runs Tests -->
<Gallio IgnoreFailures="true" Files="@(TestFiles)">
<Output TaskParameter="ExitCode" PropertyName="ExitCode" />
</Gallio>
<Error Text="Tests execution failed" Condition=" '$(ExitCode)' != 0 And '@(TestFiles)' != '' " />
这篇关于在TeamCity中设置Gallio和NbUnit的分步过程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文