Question

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?

Was it helpful?

Solution

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)' != '' " />
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top