.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
Use the NUnit or .NET CLI (dotnet) build runner to report NUnit test results.
Note that the NUnit runner supports only .NET Framework. To run tests for .NET Core projects (and .NET Framework projects version 4.0 or later), use the .NET CLI (dotnet) build runner with the test command instead. Refer to the NUnit Support page for details.
MSTest
Refer to the MSTest Support 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 test 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.
xUnit
General information about xUnit support from its authors. Also a related blog post.
See also:
Troubleshooting: Visual C Build Issues