evosuite

EvoSuite - Parameters For Getting Most Code Coverage

China☆狼群 提交于 2020-01-16 03:53:09
问题 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? 回答1: 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

using EvoSuite plugin for eclipse on Windows 7 OS

半腔热情 提交于 2020-01-02 07:52:14
问题 I'm try to use the EvoSuite plugin for eclipse (keplero) on Windows 7 OS. For testing this plugin i download the file ATM.java from the site http://www.evosuite.org/study/ . Now when i do right click on the target class -> evoSuite -> Generate JUnit Test Suite eclipse tell me: Impossible to find the file ATM_ESTest.java Where i wrong? PS: if i create the file ATM_ESTest.java the error disappear, but the file not change (no test are write) 回答1: This problem can also be found in command line