JUnit Attachments Plugin

Plugin Information

Plugin ID junit-attachments
Latest Release 1.1
Latest Release Date Jan 03, 2011
Sources Subversion
Support Eclipse Hudson Forum
Issue Tracking Eclipse Bugzilla

This plugin can archive certain files (attachments) together with your JUnit results.

Attachment Location

These files are found by convention:

  • - Hudson looks for the JUnit XML report.
  • - Then it looks for a directory with the name of the test class, in the same directory as the XML report.
  • - Every file in this directory will be archived as an attachment to that test class.

Example:

  • - test report in .../target/surefire-reports/TEST-foo.bar.MyTest.xml
  • - test class is foo.bar.MyTest
  • - test attachment directory: .../target/surefire-reports/foo.bar.MyTest/

Changelog

Version 1.1 (Jan 3, 2011)

  • Fix issue #5634: Save redirected stdout/stderr output of junit-tests when using maven.test.redirectTestOutputToFile as additional attachments.

Version 1.0 (Nov 27, 2009)

Labels:

plugin-report plugin-report Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.