Class MoreThan95PercentCoveredAttribute
- Namespace
- NDepend.Attributes
- Assembly
- NDepend.API.dll
This attribute can be used to declare that a code element is more than 95% covered by tests.
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Constructor|AttributeTargets.Method)]
public sealed class MoreThan95PercentCoveredAttribute : Attribute
- Inheritance
-
MoreThan95PercentCoveredAttribute
- Inherited Members
- Extension Methods
Remarks
The code metric ICodeContainer.PercentageCoverage can be used to determine whether a code element is more than 95% covered by test or not.
A code rule is provided by default to continuously make sure that all code elements tagged with this attribute are indeed more than 95% covered by tests.
A code rule is provided by default to continuously make sure that all code elements more than 95% covered by tests are tagged with this attribute.
Constructor (1)
MoreThan95PercentCoveredAttribute()
Create a new instance of the MoreThan95PercentCoveredAttribute class.
public MoreThan95PercentCoveredAttribute()