摘要 |
Smart test attributes are objects that are arranged to incorporate attributes functionality in the attributes themselves and to provide a standard way to interact with the attributes through a set of interfaces. The set of interfaces includes interfaces for class level attributes, method level attributes, and parameter level attributes. Test class attributes can be used to modify an instantiated object state, skip test extraction from a class, or cause test extraction to be performed multiple times for a denoted type. Method level attributes are capable of modifying method parameters and method execution. In an embodiment, method level attributes include execution attributes and supplemental attributes. Parameter level attributes are optionally used to modify the parameter input to a method and/or to modify a state of an object (e.g., the context) after a method has executed.
|