Skip to end of metadata
Go to start of metadata
You are viewing documentation of TeamCity 4.x, which is not the most recent released version of TeamCity. Please refer to the listing to choose another version.

Table of Contents

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 service message.

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.

See Also: