TeamCity 4.0 Help

XML Reports Import

Since TeamCity 4.5, you can import XML test reports using the bundled XML Test Reporting plugin.

XML Test Reporting plugin allows to import and parse reports from such test runners as:

  • JUnit

  • NUnit

  • Surefire

  • FindBugs

  • PMD

It can be used with the following runners:

  • Ant

  • Ipr

  • Maven2

  • MSBuild

  • NAnt

  • Rake

  • sln2003, sln2005, sln2008

  • Command Line build runner

For each of the supported build runners, the XML Report Processing settings section provides options to enable report parsing. In addition, you can initiate XML reports parsing using the Build Script Interaction with TeamCity.

XML Test Reporting plugin monitors the specified paths for reports and sends the found tests passes and code inspections data to TeamCity server. In most cases, test reports do not need to be completely written for the reporting to be started, and the reporting begins as soon as the files contain fragments that can be parsed.

Please refer to the XML Test Reporting documentation for details.

Last modified: 20 April 2023