-
Notifications
You must be signed in to change notification settings - Fork 3
Home
OndraZizka edited this page Nov 23, 2012
·
7 revisions
Compares several JUnit reports and creates a comparison table. Curently quite simple, more to be done.
GitHub has the code.
Download & info: http://code.google.com/p/junitdiff/
Initial info: http://ondra.zizka.cz/stranky/programovani/java/apps/JUnitDiff-junit-test-results-report-comparison.texy (Markdown is not able to format tables)
Create the XML file aggregated from several JUnit test runs.
1 java -jar JUnitDiff.jar ( dir | TEST-foo.xml | report-paths-list.txt )+
Transform the resulting XML file to HTML
1 ./transformToHTML.sh AGG-TEST.xml
A table like this: Test name report 1 report 2 report 3 report 4 Known issues org.jboss.qa.Test1 OK FAIL OK OK Known issues org.jboss.qa.Test2 FAIL OK OK Known issues org.jboss.qa.Test3 OK FAIL OK OK Known issues org.jboss.qa.Test4 FAIL FAIL OK
Also, the FAILed tests will link to the most probable known issue causing the failure.