TeamCity 2019.1 Help

.NET Testing Frameworks Support

To support the real-time reporting of test results, TeamCity should either run the tests using its own test runner or be able to interact with the testing frameworks so it receives notifications on test events. Custom TeamCity-aware test runners are used to implement the bundled support for the testing frameworks.

NUnit

Refer to the NUnit Support page for details.

MSTest

Refer to the MSTest Support page for details.

MSPec

Dedicated test runner is available for MSPec support. Refer to the MSpec page for details.

Gallio

Starting with version 3.0.4, Gallio supports on-the-fly test results reporting to TeamCity server.

Other testing frameworks (for example, MbUnit, NBehave, NUnit, xUnit.Net, and csUnit) are supported by Gallio and, thus, can provide tests reporting back to TeamCity.

As for coverage, Gallio supports NCover, to include coverage HTML reports to TeamCity build tab. See Including Third-Party Reports in the Build Results.

xUnitSupportxUnit

General information about xUnit support from its authors. Also a related blog post.


See also:

Troubleshooting: Visual C Build Issues