Represents a coverage constraint that must be enforced. More...
Inheritance diagram for Constraint:Public Member Functions | |
| def | is_of_type |
| Returns whether the Constraint is considered to be of a certain constraint type. More... | |
| def | satisfied_by |
| Returns whether the Constraint is satisfied by some item under coverage. More... | |
| def | applies_to |
| Returns whether the Constraint should be applied to an item under coverage. More... | |
Represents a coverage constraint that must be enforced.
| def applies_to | ( | self, | |
| item | |||
| ) |
Returns whether the Constraint should be applied to an item under coverage.
This is useful for allowing specific constraints to be applied to smaller subsets of a codebase.
| def is_of_type | ( | self, | |
| constraintType | |||
| ) |
Returns whether the Constraint is considered to be of a certain constraint type.
| def satisfied_by | ( | self, | |
| item | |||
| ) |
Returns whether the Constraint is satisfied by some item under coverage.
| item | A vigilance.representation.QualityItem instance. |