Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 55 Next »

Plugin Information

View xUnit on the plugin site for more information.

This plugin allows you 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:
* MSTest (imported from MSTest Plugin)
* NUnit (imported form NUnit Plugin)
* UnitTest++
* Boost Test Library
* PHPUnit
* Free Pascal Unit

For each xUnit tool, an embedded style sheet is used.
The plugin enables also to use a custom style sheet for your own tool.

There are others xUnit framework supported through others plugins that extends the xUnit plugin:
* CppUnit (CppUnit Plugin)
* Gallio (Gallio plugin)
* Parasoft C++Test tool(Cpptest Plugin)
* JSUnit (JSUnit Plugin)
* AUnit (Gnat Plugin)


Configuration

Usage

Boost Test Library

* Execute your Boost Test Library tests as a build step with the following
parameters "--output_format=XML --log_level=all --report_level=no".
* Give a pattern that specifies the boost tests result

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

Version

1.318

1.319

1.320

1.321+

0.1

(tick)

(tick)

(error)
(JENKINS-4257)

(tick)

0.1.1

(tick)

(tick)

(error)
(JENKINS-4257)

(tick)

0.1.2

(error)

(tick)

(error)
(JENKINS-4257)

(tick)

0.1.3

(error)

(tick)

(error)
(JENKINS-4257)

(tick)

0.2

(error)

(tick)

(error)
(JENKINS-4257)

(tick)

0.3

(error)

(tick)

(error)
(JENKINS-4257)

(tick)

0.3.1

(error)

(tick)

(error)
(JENKINS-4257)

(tick)

0.4

(error)

(tick)

(error)
(JENKINS-4257)

(tick)

0.5

(error)

(tick)

(error)
(JENKINS-4257)

(tick)

0.5.1

(error)

(tick)

(error)
(JENKINS-4257)

(tick)

0.5.2

(error)

(tick)

(error)
(JENKINS-4257)

(tick)

0.5.2.1

(error)

(tick)

(error)
(JENKINS-4257)

(tick)

0.5.3

(error)

(tick)

(error)
(JENKINS-4257)

(tick)

0.6

(error)

(tick)

(error)
(JENKINS-4257)

(tick)

0.6.1

(error)

(tick)

(error)
(JENKINS-4257)

(tick)

1.0

(error)

(tick)

(error)
(JENKINS-4257)

(tick)

1.1

(error)

(tick)

(error)
(JENKINS-4257)

(tick)

1.2

(error)

(tick)

(error)
(JENKINS-4257)

(tick)

1.4

(error)

(tick)

(error)
(JENKINS-4257)

(tick)

1.3

(error)

(tick)

(error)
(JENKINS-4257)

(tick)

1.4

(error)

(tick)

(error)
(JENKINS-4257)

(tick)

1.5

(error)

(tick)

(error)
(JENKINS-4257)

(tick)

1.6

(error)

(tick)

(error)
(JENKINS-4257)

(tick)

1.7

(error)

(tick)

(error)
(JENKINS-4257)

(tick)

Changelog

Version 1.7 (in trunk)

* Updated to DTKIT Default Junit 0.6
* Updated to DTKIT FRMK 0.5

Version 1.6

* Updated to DTKIT Default Junit 0.4 (Fixed reopened JENKINS-6951)
* Updated to DTKIT FRMK 0.2

Verision 1.5

* Updated to DTKIT Default Junit 0.3 (Fixed JENKINS-6951)

Verision 1.4

* Fixed the help file

Verision 1.3

* Updated to DTKit 0.2 (Fixed PHPUnit xsd and xsl)
* Added the display of validation errors in the console for input and output files.

Version 1.2

* Fixed big regression issue for backward compatibility with xUnit 0.6 JENKINS-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)
* Removed Embedded Gallio plugin (Gallio plugin extends xUnit plugin)

Version 0.5.3

* Added 'Delete Temporary JUnit files' option

Version 0.5.2.1

* Fixed JENKINS-5680 : Fixed regression introduced in 0.5.2: Added backward compatibility with a previous
configuration before 0.5.2

Version 0.5.2

* Fixed JENKINS-4945 : Show one graph when JUnit publisher is actived
* Fixed JENKINS-4931 : Adding a check-box option 'Fail the build if test results were not
updated this run'

Version 0.5.1

* Fixed some labels

Version 0.5

* Added the support of Free Pascal Unit

Version 0.4

* Removed the AUnit support.
AUnit (Ada test framework) is provided by the Gnat Plugin.
Note: Gnat plugin extends the xUnit plugin

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.
* You can override the embedded stylesheet by a one at the workspace level.

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)
* [BoostTest Library] - Display the output of the macros MESSAGE,INFO and WARNING in Hudson test results
* [PHPUnit] - Fixed stylesheet
* Fixed bug on suite name content with special character

Version 0.1.3

* [BoostTest Library] - Flatten root package

Version 0.1.2

* Fixed "java.lang.NoSuchMethodError: java.lang.String.isEmpty()"
* Added the ability to work on slaves

Version 0.1.1

* Fixed java.util.MissingResourceException on Linux Plateform
* [BoostTest] - Fixed tests duration issue with Boost Test Library

Version 0.1

* Initial release

  • No labels