Closed jiseongg closed 2 years ago
Hi @jiseongg, if you are interested in how the initial tests are generated, you should have a look at the org.evosuite.testcase.TestFactory
class (and in particular, at the insertRandomStatement
method). This class is used by all the concrete implementations of org.evosuite.ga.ChromosomeFactory
to randomly generate an initial population of solutions.
Hi @giograno, thank you for detailed guide! I'll look at the part you said :)
Dear EVOSUITE community,
Hi, I'm a student researching on Java test generation. I'm currently trying to understand the implementation of EVOSUITE.
As far as I know, EVOSUITE first generates test code randomly, which is the sequence of statements (method call, constructor, etc.), and they're passed to the genetic algorithm. However, I think the most of purely randomly generated tests are not executable. My questions are here.
Thanks in advance for any help you are able to provide.