Sunday, April 8, 2018

Cobertura

Cobertura POC

About Cobertura

Cobertura is a free Java tool that calculates the percentage of code accessed by tests. It can be used to identify which parts of your Java program are lacking test coverage. It is based on jcoverage.
For more information:

Use Maven

There are several ways to execute Cobertura, I have used the maven plugin. You can find the info here:
You can execute Coberta as/is typing:
mvn cobertura:cobertura
I prefer this way:
mvn clean install cobertura:cobertura

Collect your results

If everything has gone well, you will see this log line:
[INFO] Cobertura Report generation was successful.
Then you can find your Cobertura Report at:
${PROJECT_PATH}/target/site/cobertura/index.html

No comments:

Post a Comment

உப்பு மாங்காய்

சுருக்குப்பை கிழவி. சுருக்கங்கள் சூழ் கிழவி. பார்க்கும் போதெல்லாம் கூடையுடனே குடியிருப்பாள். கூடை நிறைய குட்டி குட்டி மாங்காய்கள். வெட்டிக்க...