Plugin Information
This plugin makes it possible to publish testing tools test result report. When 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. The plugin includes the support of: For each xUnit tool, an embedded style sheet is used. There are others xUnit framework supported through others plugins that extends the xUnit plugin: Configuration
UsageBoost Test Library* Execute your Boost Test Library tests as a build step with the following A sample Boost result file for xUnit plugin <TestLog> <TestSuite name="Master Test Suite"> <TestSuite name="test_suite"> <TestCase name="test_1"> <Info file="test.cpp" line="9">check i == j passed</Info> <TestingTime>0</TestingTime> </TestCase> <TestCase name="test_2"> <Error file="test.cpp" line="16">check i == j failed [1 != 2]</Error> <TestingTime>0</TestingTime> </TestCase> </TestSuite> </TestSuite> </TestLog> Compatibility with Hudson core
ChangelogVersion 1.7* Updated to DTKIT Default Junit 0.6 Version 1.6* Updated to DTKIT Default Junit 0.4 (Fixed reopened issue #6951) Verision 1.5* Updated to DTKIT Default Junit 0.3 (Fixed issue #6951) Verision 1.4* Fixed the help file Verision 1.3* Updated to DTKit 0.2 (Fixed PHPUnit xsd and xsl) Version 1.2* Fixed big regression issue for backward compatibility with xUnit 0.6 issue #6946 Version 1.1* Improved deletion algorithm. Version 1.0* xUnit currently follows a new model based on dtkit Version 0.6.1* Spelling Correction Version 0.6* Removed Embedded Cppunit plugin (Cppunit plugin extends xUnit plugin) Version 0.5.3* Added 'Delete Temporary JUnit files' option Version 0.5.2.1* Fixed issue #5680 : Fixed regression introduced in 0.5.2: Added backward compatibility with a previous Version 0.5.2* Fixed issue #4945 : Show one graph when JUnit publisher is actived Version 0.5.1* Fixed some labels Version 0.5* Added the support of Free Pascal Unit Version 0.4* Removed the AUnit support. Version 0.3.1* Restored the removed feature in xUnit 0.2 : Added the ability to use a custom xUnit tool with a custom style sheet. Version 0.3* Fixed issue 4416 Version 0.2* The plugin use @Extension and ExtensionPoint to allow other plugins to add a Descriptor (issue 4315) Version 0.1.3* [BoostTest Library] - Flatten root package Version 0.1.2* Fixed "java.lang.NoSuchMethodError: java.lang.String.isEmpty()" Version 0.1.1* Fixed java.util.MissingResourceException on Linux Plateform Version 0.1* Initial release |

Comments (1)
Aug 18
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.