Skip to content

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

Description

@cesarhernandezgt

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions