Skip to content
junghuk edited this page Nov 16, 2015 · 1 revision

AbstractBuildProbe

Detect build systems based on build files. For instance, if sut has a pom.xml file in root folder, it is regarded as Maven. It provides following primary methods for running unit test and other analysis:

  • public abstract List getTestClasses(); // List of test classes, filtered by build system
  • public abstract List getClasses(); // List of classes
  • public abstract String getClasspath(); // Classpath required for running test classes.

TacocoLauncher

It has main() method, which conducts following jobs.

  • create buildProbe
  • configure instrumenter based on INST and INST_ARGS
  • run JUnit with instrumenter
  • (Optional) create sqlite3 database output
  • (Optional) commit PIT the mutation test
Clone this wiki locally