-
Notifications
You must be signed in to change notification settings - Fork 15
Event Tracking
Yun Lin edited this page Dec 15, 2020
·
2 revisions
In this project, we also track some "testing events" to lay foundations for further insights. We support record the following events, i.e., seed sampling event, search event, branch covering event.
- Seed sampling event: Evosuite++ mutates the test cases in a random way. In order to provide more efficient evolution, Evosuite framework takes some constants from the program. In general, it maintains three constant pools to speed up the search process, i.e., static constants in the target class, static constants in the depended classes, and the dynamic constant generated during search. We record the sampling events when they happen.
Relevant classes:
org.evosuite.result.seedexpr.SamplingEvent
- Search event: During evolution, Evosuite framework also perturbates existing tests. The perturbation can be effective if the test generation can follow the guidance of branch distance.
Relevant classes:
org.evosuite.result.seedexpr.SearchEvent
- Branch covering event: That is, a new branch is covered by mutating/evolving a test case. Note that, the new branch coverage is regarding a specific change.
Relevant classes:
org.evosuite.result.seedexpr.BranchCoveringEvent