the machine running the program should be running on windows and have the following tools installed:
The target project should be:
- a java project.
- using Maven as a build managment tool.
- using Git as a version management system.
- having the JaCoCo library configured as a dependency in the target project and runnable over maven.
- having a .xml file that includes the relation between the requirements and the issues.
To build the project after cloning or downloading it, navigate in the command line tool to the project directory and run the maven command: mvn install. Maven will automatically download and install the required libraries and dependencies and compile the project.
After a successful run of the previous command the program can be started with no further settings.
The following command runs the project
mvn exec:java -Dexec.args="arg1 arg2 arg3 arg4".
where:
- arg1: the path to the target project directory (where the .git/ folder exists)
- arg2: the path to the target sub-project directory (where the .pom.xml file exists). This directory can be identical with the previous one.
- arg3: the path to the requirements.xml file of the target project
- arg4: the regular expression form of the issue-ids as in the git-commit messages of the target project.
After running the project, the resulted requirements coverage report can be found under ./target/requirementsCoverage/index.html