This repository contains test cases and scripts designed for testing Randoop and EvoSuite, specifically for comparison with the results presented in the paper "GRT: Program-Analysis-Guided Random Testing"
The GRT paper uses two methods of evaluation:
- Mutation analysis measures how well generated tests kill artificially seeded faults (mutants).
- Defect detection measures the ability of generated tests to detect known real-world defects.
This repository provides scripts and setup files for running both kinds of evaluation.
To set up the environment, refer to the scripts/prerequisites.md file.
For mutation analysis see:
scripts/mutation-randoop.shfor Randoopscripts/mutation-evosuite.shfor EvoSuite
For defect detection see:
scripts/defects4j-randoop.shfor Randoopscripts/defects4j-evosuite.shfor EvoSuite
See file scripts/experiment-scripts/README.md.
The compiled subject programs used by the GRT paper appear in the
subject-programs/ directory.
To obtain the sources of the subject programs, see
subject-programs/README.build.