在 TeamCity 中设置 Gallio 和 NbUnit 的分步过程

发布于 2024-09-01 23:46:04 字数 177 浏览 2 评论 0原文

我搜索了互联网并发现了一些参考资料,称 Gallio 和 NbUnit 可以作为构建过程的一部分在 TeamCity 中运行。

我正在针对解决方案文件运行我的构建,并且需要 TeamCity 运行解决方案中的所有测试。

是否有在 TeamCity 中任何地方设置 Gallio 和 NbUnit 的分步过程?

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.

I am running my builds against the solutions files and need TeamCity to run all the test in the solution.

Is there a step by step process for setting up Gallio and NbUnit within TeamCity anywhere?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

神经大条 2024-09-08 23:46:04

您可以通过 MSBuild 来完成此操作

      <!-- Runs Tests -->
      <Gallio IgnoreFailures="true" Files="@(TestFiles)">
        <Output TaskParameter="ExitCode" PropertyName="ExitCode" />
      </Gallio>
      <Error Text="Tests execution failed" Condition=" '$(ExitCode)' != 0 And '@(TestFiles)' != '' " />

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)' != '' " />
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文