Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tonerdo committed Jun 12, 2018
1 parent 555bf1c commit b1edbac
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,8 @@ You can specify multiple values for `ThresholdType` by separating them with comm
### Excluding From Coverage

#### Attributes
You can ignore a method or an entire class from code coverage by creating and applying any of the following attributes:

* ExcludeFromCoverage
* ExcludeFromCoverageAttribute
* ExcludeFromCodeCoverage
* ExcludeFromCodeCoverageAttribute

Coverlet just uses the type name, so the attributes can be created under any namespace of your choosing.
You can ignore a method or an entire class from code coverage by creating and applying the `ExcludeFromCodeCoverage` attribute present in the `System.Diagnostics.CodeAnalysis` namespace.

#### Source Files
You can also ignore specific source files from code coverage using the `ExcludeByFile` property
Expand Down

0 comments on commit b1edbac

Please sign in to comment.