After upgrading from pitest-junit5-plugin 0.10 to 0.11, a unit test started failing.
The same problem occurs in 0.14 as well.
java.lang.AssertionError:
Unexpected method
3:00:41 PM PIT >> INFO : MINION : call PrometheusScrapeEndpoint.scrape([]):
PrometheusScrapeEndpoint.scrape(<any>): expected: 1, actual: 2
EasyMock expected that PrometheusScrapeEndpoint.scrape(<any>) will be invoked only once but it was invoked twice.
When I execute maven with -DskipPitest, all tests pass successfully.
The following ZIP contains maven output with verbose=true for
mvn.pitest-junit5-plugin-0.10.out - pass
mvn.pitest-junit5-plugin-0.11.out - fail
mvn.pitest-junit5-plugin-0.14.out - fail
mvn-out.zip
pitest-maven = 1.6.2
junit-jupiter-api = 5.7.1
After upgrading from pitest-junit5-plugin 0.10 to 0.11, a unit test started failing.
The same problem occurs in 0.14 as well.
EasyMock expected that
PrometheusScrapeEndpoint.scrape(<any>)will be invoked only once but it was invoked twice.When I execute maven with
-DskipPitest, all tests pass successfully.The following ZIP contains maven output with verbose=true for
mvn.pitest-junit5-plugin-0.10.out - pass
mvn.pitest-junit5-plugin-0.11.out - fail
mvn.pitest-junit5-plugin-0.14.out - fail
mvn-out.zip
pitest-maven = 1.6.2
junit-jupiter-api = 5.7.1