I am having my web application running on tomcat , and in separate project i have my test cases which calls all apis of my app , now i want to check code coverage , covered during api calls from automated test suit.
Steps I followed:
but still getting zero coverage , have i missed any thing please suggest
你可以试试这个吗
JAVA_OPTS="$JAVA_OPTS -javaagent:/tmp/jars/jacocoagent.jar=includes=*,destfile=/tmp/jars/jacoco.exec,append=true
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.