TeamCity
 
You are viewing the documentation for an earlier version of TeamCity.

Testing Frameworks

Last modified: 20 April 2023

TeamCity provides support for a number of testing frameworks. In order to reduce feedback on the build failures TeamCity tries to report the test on-the-fly where possible. On-the-fly tests reporting means that the tests are reported in the TeamCity UI as soon as they are run not waiting for the build to complete.

TeamCity directly supports the following testing frameworks:

  • JUnit and TestNG for the following runners:

    • Ant (when tests are run by junit and testng tasks directly within the script)

    • Maven2 (when tests are run by Surefire Maven plugin; on-the-fly reporting is not available.)

    • IntelliJ IDEA project (only JUnit tests are supported - configured in the TeamCity runner UI)

  • NUnit Support for the following runners:

  • Mstest support 2008 (On-the-fly reporting is not available due to MSTest limitations.)

Moreover, you can import XML reports of different testing frameworks with XML Reports Import.

There are also testing frameworks that have embedded support for TeamCity. e.g. .NET Testing Frameworks Support and .NET Testing Frameworks Support.

See also external TeamCity Plugins.