fill in possible path for jacoco agent

This commit is contained in:
ucrhh 2021-03-12 13:32:30 +01:00
parent caeb2fca84
commit 06bc2d020e

View File

@ -61,7 +61,7 @@ mvn jacoco:prepare-agent test jacoco:report
Then run the application with the JaCoCo agent: (adjust the path to the agent jar) Then run the application with the JaCoCo agent: (adjust the path to the agent jar)
``` ```
cp target/typicalc-1.0-SNAPSHOT.jar /tmp cp target/typicalc-1.0-SNAPSHOT.jar /tmp
java -javaagent:jacoco.agent.jar=port=36320,destfile=jacoco-it.exec,output=tcpserver /tmp/typicalc-1.0-SNAPSHOT.jar java -javaagent:$HOME/.m2/repository/org/jacoco/org.jacoco.agent/0.8.6/org.jacoco.agent-0.8.6-runtime.jar=port=36320,destfile=jacoco-it.exec,output=tcpserver -jar /tmp/typicalc-1.0-SNAPSHOT.jar
``` ```
To run the integration tests: To run the integration tests: