You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hi,
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,
Best Regards,
Grzegorz Lewandowski
Thanks Grze,I'm able to move further on Clover.Hava a quick Question
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
clover2:setup
saves time stamp for Clover test optimization feature and clover2:instrument
forks the process and add suffixes for generated artifacts, in general if you won't be use any specific automatic deployment we're suggesting using clover2:setup
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:
META-INF/lib
directory$CATALINA_BASE/lib
directory, for referenceproductservice-clover.war
was generated because you've used clover2:instrument
and in that case productservice.war
won't contain instrumented sources, so in general it depends on which goal are you using:clover2:setup
you should use productservice.war
for clover2:instrument
you should use productservice-cloverr.war
Cheers,
Grzegorz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Happy New Year! We hope you all had a safe and restful holiday season. 2020 was a unique year full of unforeseen events; however, as we enter the new year of 2021, we’re optimistic for the light at t...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.