galenframework/galen-sample-java-tests

report.html gets overriden when using -DforkCount=2 -DreuseForks=true

cesarhernandezgt opened this issue · 0 comments

When I ran maven verify with -DforkCount=2 -DreuseForks=true

I found that if you have more than one class on com.galenframework.java.sample.tests , the final report: ..galen-sample-java-tests/target/galen-html-reports/report.html only shows the test result from one of the two test classes.

On the final maven logs you see that both Test classes generated individual report:

[main] INFO com.galenframework.testng.GalenTestNgReportsListener - Generating Galen Html reports
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.673 sec - in com.galenframework.java.sample.tests.CesarPageTest
[main] INFO com.galenframework.testng.GalenTestNgReportsListener - Generating Galen Html reports
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.743 sec - in com.galenframework.java.sample.tests.WelcomePageTest

But the index report only shows the results from the WelcomePageTest tests.

Is there away to allow the report.html to include the test result from both Test clasess or is this actually an issue with current relase?