Step by step process for setting up Gallio and NbUnit within TeamCity

岁酱吖の 提交于 2020-01-05 04:08:10

问题


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?


回答1:


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)' != '' " />


来源:https://stackoverflow.com/questions/2847647/step-by-step-process-for-setting-up-gallio-and-nbunit-within-teamcity

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!