user3057770
user3057770

Reputation: 31

EvoSuite - Parameters For Getting Most Code Coverage

I'm generating unit tests with EvoSuite and would like to get as close to 100% code coverage from the resulting unit tests as possible. What are the best command line options/parameters to set to accomplish this?

Upvotes: 2

Views: 954

Answers (1)

arcuri82
arcuri82

Reputation: 970

EvoSuite comes with its parameters already tuned. if you want to improve coverage further, you d need to increase the allotted time for test generation (eg by using -Dsearch_budget parameter), although that cannot guarantee 100% coverage. For more info, see http://www.evosuite.org/documentation/commandline/

Upvotes: 1

Related Questions