It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
Hi,
We're evaluating Clover as our main coverage tool for our Maven projects and we're willing to pay for the Server License but we have a blocker issue.
Our projects have the following structure:
project
module-a
src/main/java
src/test/java (UTs)
module-a-it
src/test/java (ITs)
We're have no clover configuration within our poms. We use surefire for our UTs and failsafe for our ITs.
We run the following goal from the top project:
mvn clean coverage:instrument install clover:aggregate clover:clover
The problem is that even when the ITs pass, we end up with no coverage for our ITs.
image2016-9-16 10:23:40.png
What should we do?
Thank you
Hi Fer,
mvn clean clover:setup verify clover:aggregate clover:clover
Cheers
Marek
PS: As soon as you solve the problem with lack of data in the HTML report, you may want be interested in fine-tuning of Clover configuration for Failsafe. I'm pasting you few links:
https://confluence.atlassian.com/display/CLOVER/Using+with+Surefire+and+Failsafe+Plugins
https://confluence.atlassian.com/display/CLOVER/Unit+Test+Results+and+Per-Test+Coverage
and some hacking:
https://confluence.atlassian.com/display/CLOVER/Updating+optimization+snapshot+file
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.
Read moreAtlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.