excluded items / raw xml
excluded items / raw xml
if i have an attribute defined for excluding a class from coverage, the class does not show up in the raw xml generated. Given that the document element in the xml has an "excluded" attribute, I would have expected to find the class in the xml with the excluded attribute = true.
I need to report on the entities that are using the excluded attribute.
what am I doing wrong or what do I misunderstand?
RE: excluded items / raw xml
NCover has pre exclusions and post exclusions.
The feature that you are using is a pre exclusion, which means NCover treats it like it never existed.
The excluded attribute in the xml is there because of how NCover 1-2 used this flag. If it is removed, some 3rd party tools will break.
If you want to exclude the element but still want it in the coverage file, you will need to create a post coverage exclusion. You will need to provide the fully qualified signature for this feature. The attribute based exclusion is not available as a post exclusion.
Does this help?
Joe Feser
RE: excluded items / raw xml
Yes, thanks for the clarification...