Open PdedP opened 3 years ago
Hi, the logs show that you are using version 1.1.0. As already mentioned in a comment on the issue you referenced, this bug should be fixed in the current master branch.
I think using the current master branch (or waiting for the next release) will solve this issue.
Context
Similar to #347, there seems to be a bug in the covered goals count when 100% coverage is reached. It happens with different classes under test. As a result, statistic data is not written.
I am using the last .jar file (downloaded on 7th, June). I have also tried by building the code locally with: mvn clean compile / mvn package -DskipTests=true.
Steps to Reproduce
I attach the zip file with the necessary files to reproduce the bug. ATM_Example.zip
EvoSuite Arguments
Current Result
Expected result
As it can be seen, the number of covered goals is 122, but the actual number of goals is 119. Statistic data is not written. Note also that the sum of the goals of each criterion is not equal to 119 but 123.
Additional info
I have tried with different classes to understand what was going on:
The rest of the times (when not all goals are covered) statistics are written.
Thanks in advance.