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
Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot