3

Hey all, Looking for feedback if anyone has a good way to, when you finalize the code, run one last Junit run and create a PDF-version of the junit report.

Jean-Rémy Revy
  • 5,607
  • 3
  • 39
  • 65
dhartford
  • 1,125
  • 2
  • 12
  • 35

2 Answers2

3

Maven PDF plugin with Surefire report: http://maven.apache.org/plugins/maven-pdf-plugin/surefire-report.html

maximdim
  • 8,041
  • 3
  • 33
  • 48
  • I'm trying this out, but now running into the infamous 'surefire tests that fail during site/report generation but work fine outside' problem. – dhartford Nov 03 '10 at 20:32
  • 1
    How is this the answer? The link just shows the surefire report of the plugin itself and not how to generate a PDF report of your test results. – supertonsky Oct 03 '17 at 09:52
0

You can use http://junitpdfreport.sourceforge.net

Unfortunately maven is not supported. You have to configure it with AntRun plugin.

amra
  • 16,125
  • 7
  • 50
  • 47
  • Seems that the mentioned project is discontinued - does anyone know of a "more vital" project? – Roman Nov 07 '17 at 15:12