AOEpeople / geb-spock-reports

Integrates Geb screenshots into the spock-reports library
Apache License 2.0
36 stars 11 forks source link

Reporting is shows incorrect counts when parallel execution is enabled #35

Open ShubhenduPandey opened 3 years ago

ShubhenduPandey commented 3 years ago

Recently Spock added parallel test execution in Version 2.0-M4. I tried to test it and found out that geb-spock-report shows incorrect figure when parallel mode is on Geb-Spock-Report screenshot screenshot-newtab-2021 06 20-22_35_14 Gradle report screenshot-newtab-2021 06 20-22_31_48

Notice geb report is showing 2 test executed whereas gradle report shows correct 3 test

spockconfig file

runner {
    parallel {
        enabled true
    }
}

Here is the zip file of the project:- Spock2Test.zip

Run ./gradlew clean test to launch the test cases on chrome

ShubhenduPandey commented 3 years ago

Seems like issue is in Spock