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.
mvn clean package assembly:single
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.
java -jar target/tool-mockextractor-0.0.1-SNAPSHOT-jar-with-dependencies.jar tests tests/deps/ output.csv
This software is licensed under the Apache 2.0 License.