Question about Merging coverage files

Question about Merging coverage files

With my implementation of NCover, I have multiple models being run under the same tests and each generating a coverage file. How does NCover merge these coverage files?

Does NCover take an average of coverage percents among each individual percentage?

Thanks


RE: Question about Merging coverage files

lunawei,

NCover doesn't take an average. Instead, it combines the data as though all coverage was run at the same time; that is, it recalculates the coverage altogether. This is accomplished by adding together visits to code from the discrete test runs. This way NCover gives more accurate results, providing details on each symbol / method / branch / etc as opposed to just averaging percentages without reporting the actual number of visits. Accuracy and dependability is what we strive for. Thanks for your question!