I'm new to clover and have war from dev team and need to perform build with clover and run my integration tests with maven.
Hi vinod kumar,
You can't really run Clover with already builded war file. It's because Clover is basing on source code instrumentation. But you can integrate Clover with Maven to build proper artifact and generate code coverage reports from it.
Here are some links from documentation how to achieve it:
Remember about setting up flush policy, which may cause some problems:
If you have problems with configuring Clover feel free to ask,
Thanks Grze,I'm able to move further on Clover.Hava a quick Question
clover2:setupsaves time stamp for Clover test optimization feature and
clover2:instrumentforks the process and add suffixes for generated artifacts, in general if you won't be use any specific automatic deployment we're suggesting using
clover.jar is required by instrumented code otherwise you'll face
ClassNotFoundErrors so your need ensure
clover.jar is in the classpath by i.e:
$CATALINA_BASE/libdirectory, for reference
productservice-clover.warwas generated because you've used
clover2:instrumentand in that case
productservice.warwon't contain instrumented sources, so in general it depends on which goal are you using:
clover2:setupyou should use
clover2:instrument you should use
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in talking to 20 people planning t...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs