Team, I am executing the same package files twice. For example my package contains 10 files. I am running sanity and basic test cases against 10 java instrumented files. If I run sanity alone am getting 20% and run basic alone test case am getting 30% coverage. Third step, In a single shot I am running both sanity + basic test case. Now the overall code coverage percentage is getting 24%. Here are my questions
1. I want to merge two report as a single report. Actually I am running basic test case one shot and sanity in second shot. So, How can I merge those report as a single report.
2. How they are calculating overall percentage as 24%. Is there any way to improve the coverage percentage
As your basic test has 20% coverage and sanity test 30% coverage, then after merging I would expect to see total coverage value in range (30%, 50%). If you see 24% then it means that you're doing something wrong during your test execution. The most probably your build setup is incorrect.
It's hard to tell without seeing detailed debug logs (feel free to raise a ticket on support.atlassian.com and attach files), but the most common reasons are:
Hey community! This month we’re excited to share brand new features to help you make your mark on Confluence. If you haven’t already, check out our updates from October and September too! Expre...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events