EvoSuite / evosuite

EvoSuite - automated generation of JUnit test suites for Java classes
http://www.evosuite.org
GNU Lesser General Public License v3.0
832 stars 341 forks source link

Don't write all_goals_file and coverage_matrix #348

Closed LeandroMoura3 closed 3 years ago

LeandroMoura3 commented 3 years ago

Hello,

I tried to write the all goals files using the command -Dwrite_all_goals_file=true, but this it isn't working. The -Dwrite_covered_goals_file=true are working fine. Need any configuration to write that or it's a bug? The same thing are happen with -Dcoverage_matrix=true.

I'm using win10 and evosuite-1.1.0.jar.

VoglSebastian commented 3 years ago

Hi,

This option is only used in the print stats execution mode and depends on the option print goals.

You can generate the file by: evosuite -class <class> -projectCP <projectCP> -Dwrite_all_goals_file=true -Dprint_goals=true -printStats

Similar, the coverage_matrix option is only supported in the -measureCoverage execution mode.

LeandroMoura3 commented 3 years ago

Thank you