Testing Frameworks
Last modified: 20 April 2023TeamCity supports the following testing frameworks:
JUnit and TestNG for the following runners:
Ant
Maven2 (when tests are run by Surefire Maven plugin)
IntelliJ IDEA project (only JUnit tests are supported)
.NET Testing Frameworks Support for the following runners:
NAnt (nunit2 task)
MSBuild (NUnit community or Additional Functionality in MSBuild Scripts tasks)
Microsoft Visual Studio Solution runners (2003, 2005 and 2008)
TeamCity recognizes when a build performs tests, and reports the test results on-the-fly, without waiting for the build completion for all the above runners except Maven2. A failing test immediately manifests itself in the Build State, and in the Tests tab tab of the Build Results, though the build goes on and performs the other tests (unless configured otherwise).
Thanks for your feedback!