This repository has been archived by the owner on Nov 15, 2021. It is now read-only.
skippedDueTo="AutoImplementedProperty" Included in coverage output when -hideskipped:ALL is used #794
Closed
2 of 19 tasks
Please provide the following information when submitting an issue.
My Framework
My Environment
I have already...
My issue is related to (check only those which apply):
Expected Behavior
Class properties that are considered AutoImplementedProperty should be hidden from the code coverage output file if -hideskipped:ALL is passed.
Actual Behavior
When running code coverage with -hideskipped:ALL passed, the coverage report will is hiding other skipped types, but still listing skippedDueTo="AutoImplementedProperty" results.
i.e.
<Method skippedDueTo="AutoImplementedProperty" visited="false" cyclomaticComplexity="1" nPathComplexity="0" sequenceCoverage="0" branchCoverage="0" crapScore="0" isConstructor="false" isStatic="false" isGetter="false" isSetter="true"> <MetadataToken>12345</MetadataToken> <Name>System.Void Domain.Address::set_Address1(System.String)</Name> <FileRef uid="1" /> <SequencePoints /> <BranchPoints /> </Method>
Steps to reproduce the problem:
run OpenCover from console
use the -skipAutoProps and -hideskipped:ALL arguments
example command:
The text was updated successfully, but these errors were encountered: