A tool for creating binary test coverage matrices of java code.
- Gradle
- JDK >11
- Clone the repo to a local directory and open it.
- Assemble the tool and the agent using
gradlew assemble
orgradlew build
. The latter will run the tests in the process. - Run the tool using
gradlew run --args "<options>"
, see below for available<options>
.
Usage:
matrixer --target <path> --pkg <target package name> [--testpkg <test package name>] [--output <path>] [--git <URL>]
--target - the location of an existing project or the path to clone the remote repo to
--pkg - root package name of the target project, will be used to identify target methods
--testpkg - root package name of the tests, will be used to identify test cases (defaults to --pkg)
--output - the location where logs and results will be stored. Defaults to build/matrix-cov for gradle and target/matrix-cov for maven
--git - if the project is remote, provide a URL to the repository