Merged several files, class coverage went down???

Merged several files, class coverage went down???

Specifically, we ran scripts through QTP. There are abou 5 different scripts with different coverage percentages for a particular class.

say

within result1.xml, ClassA coverage is at 77% result2.xml's ClassA coverage is at 0% result3.xml's ClassA coverage is at 88% etc.

After merging these several files the end coverage for the merged file for ClassA comes to 81%.

While looking though the different methods underneath ClassA, we noticed that certain methods with high percentage coverage were set to 0%

Does merging overwrite higher coverage percentages from a lower coverage percentage???


RE: Merged several files, class coverage went down???

merging in NCE 2.1 assumes the first set of data loaded is authoritative: any matching methods loaded after that first load are ignored. This is an issue that we've discussed several resolutions to, but so far we haven't been completely satisfied with any of them. Could you explain, in as much detail as you can, what you would expect to happen in the situation above and in any other situations that you've run into? That would help us choose a good solution to the merge problem.

Thanks you!