My project is a RPC project, there are two child project.
so I create two db. the instrument command as below
java -cp clover-3.0.2.jar com.cenqua.clover.CloverInstr -i cm_clover_ui.db -s client\com.cubrid.common.ui\src -d instr\com.cubrid.common.ui\src
java -cp clover-3.0.2.jar com.cenqua.clover.CloverInstr -i cm_clover_core.db -s client\com.cubrid.cubridmanager.core\src -d instr\com.cubrid.cubridmanager.core\src
then I compile class and run prgram and generate many db. there are as below.
and I use merage command to merage db.
java -cp clover-3.0.2.jar com.cenqua.clover.CloverMerge -i cm.db cm_clover_core.db cm_clover_ui.db
then I generate report for cm.db.
java -cp clover-3.0.2.jar com.cenqua.clover.reporters.html.HtmlReporter -i cm.db -o report
but I can't got code coverage data.
when I generate cm_clover_core.db report, I can got code coverage data.
My Clover version is 3.0.2 .
I guess the reason is code coverage data store at cm_clover_core.db4qm69_gw7e9c3s and cm_clover_ui.db5f4vo_gw7d5sza file . those file not be merege.
Could you help me to merge code coverage data?
Thank you in advance !
Do you have both database files (cm_clover_core.db + cm_clover_ui.db) as well as coverage recordings (multiple files named like cm_clover_core.db4qm69_gw7e9c3s + cm_clover_ui.db5f4vo_gw7d5sza) stored in the same directory?
Have you tried to generate report for cm_clover_ui.db and see how coverage looks like?
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Atlas 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 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