I was following this tutorial https://confluence.atlassian.com/clover/using-with-surefire-and-failsafe-plugins-294489218.html to genrate Clover combined report for unit tests and Test NG tests. But the report only shows numbers of the failed tests instead of code coverage. Is there a way I can generate a combined code coverage report? Thank you.
Are you sure you're looking at the right report file ? Clover one should be located (assuming the default location) in a target/site/clover
Have you called clover:clover goal? This is the Maven MOJO responsible for producing reports.
Thank you for the reply. In order to generate integration tests coverage report, I had to deploy the clover.war to another server and run clover instrument. I was able to do it through IntelliJ IDEA by setting up two tomcat servers.
Now I have to integrate this with Bamboo. Is there any tutorials? Thank you.
Well.. There are general tutorials on using Clover:
But I don't think there is any specific tutorial refering to two Tomcat servers. General use Clover use case is to:
* instrument source code
* compile the instrumented source
* run instrumented code
* generate report out of produced artifatcs
I generally, don't recommend instrumenting the same code twice for different set of tests becasue you'll have to manage the Clover database for generating report.
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