https://search.maven.org/artifact/org.jacoco/org.jacoco.agent/0.8.5/jar
java -javaagent:org.jacoco.agent-0.8.5-runtime.jar -jar ApacheJMeter.jar
导出覆盖率HTML
java -jar org.jacoco.cli-0.8.5-nodeps.jar report jacoco.exec --classfiles "D:\apache-jmeter-5.2.1\bin\ApacheJMeter.jar" --html /jmeter/coverage
导出覆盖率CSV
java -jar org.jacoco.cli-0.8.5-nodeps.jar report jacoco.exec --classfiles "D:\apache-jmeter-5.2.1\lib\ext\ApacheJMeter_http.jar" --csv /jmeter/coveragee.csv
那么如何计算持续集成项目的动态覆盖率呢??
网友评论