BCH compliance Build Status

MockExtractor extracts the list of mocked and non mocked dependencies in all test units (JUnit tests) of a given system.

This tool was part of our MSR 2017 paper.

Build

mvn clean package assembly:single

Usage

Usage: java -jar <tool>.jar <directory> <dir-deps> <output.csv>

  • directory: directory of the app to be analyzed.
  • dir-deps: directory of the JAR dependencies of that file.
  • output.csv: path to the final CSV file.

Example

java -jar target/tool-mockextractor-0.0.1-SNAPSHOT-jar-with-dependencies.jar tests tests/deps/ output.csv

License

This software is licensed under the Apache 2.0 License.