现在的位置: 首页 > 综合 > 正文

JUnit Attachments Plugin

2013年10月02日 ⁄ 综合 ⁄ 共 1375字 ⁄ 字号 评论关闭

http://wiki.hudson-ci.org/display/HUDSON/JUnit+Attachments+Plugin

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)

抱歉!评论已关闭.