Plugin Information
This plugin makes it possible to publish the results of an execution of a testing tool in Hudson. FeaturesWhen this plugin is installed and configured, Hudson can transform test result report produced by different testing tools into JUnit test result. Then, the JUnit tests can be recorded by Hudson. Hudson can provide useful information about test results, such as historical test result trend, web UI for viewing test reports, tracking failures, and so on. ConfigurationJob Configuration* Execute your testing tools manually or as a step of your build chain Showing the details:Manage Hudson > System Log > Add new log recorder. Give a name as 'xUnit Logger' and add the following logger:
Provide User XSLFor tools using a stylesheet to convert into JUnit files, you are able to use your own XSL at Hudson level. For example: Note: The tool name and the version are taken from the label in the combo box from the UI. |
Comments (1)
Aug 18, 2010
Jon Black says:
I'm using boost test with this plugin and get the following output: [xUnit] Sta...I'm using boost test with this plugin and get the following output:
[xUnit] Starting to record.
[xUnit] Can't create the path D:\Develop\generatedJUnitFiles. Maybe the directory already exists.
[xUnit] [BoostTest-1.35.0 (default)] - Processing 5 files with the pattern 'boost-test-*.xml' relative to 'D:\Develop'.
[xUnit] [INFO] - Converting 'D:\Develop\boost-test-Module1.xml' .
[xUnit] [INFO] - Converting 'D:\Develop\boost-test-Module2.xml' .
[xUnit] [INFO] - Converting 'D:\Develop\boost-test-Module3.xml' .
[xUnit] [INFO] - Converting 'D:\Develop\boost-test-Module4.xml' .
[xUnit] [INFO] - Converting 'D:\Develop\boost-test-Module5.xml' .
[xUnit] The plugin hasn't been performed correctly: None of the test reports contained any result
Finished: FAILURE
My boost test XML files do contains results, and lots of them. An example of a converted file is:
<testsuite tests="2" errors="0" failures="0" name="Master Test Suite" skipped="0"/>
I'm using boost 1.39 but I don't think that's the problem otherwise the conversion would fail, surely? I'm using 1.6 of the xunit plugin on Hudson 1.371.
As a side note, I would have loved to have created a bug report for this, but Jira is less than obvious on how to do that.