TC-Lite uses attributes to identify tests, control various aspects of how they are run, choose which tests should be run and to provide general information about each test. The following attributes are currently supported in the code.
CategoryAttribute
Allows tagging tests with a category.
IgnoreAttribute
Indicates that a test should not be run and specifies the reason.
TestCaseAttribute
Identifies a test method and optionally provides a set of arguments.
TestCaseDataAttribute
Identifies a test method together with a static source from which arguments are retrieved.
TestCaseFactoryAttribute
Identifies a test method together with a test case factory to provide arguments. Use of a factory provides the greatest level of control in generating arguments dynamically.
CategoryAttribute
Allows tagging tests with a category.
IgnoreAttribute
Indicates that a test should not be run and specifies the reason.
TestCaseAttribute
Identifies a test method and optionally provides a set of arguments.
TestCaseDataAttribute
Identifies a test method together with a static source from which arguments are retrieved.
TestCaseFactoryAttribute
Identifies a test method together with a test case factory to provide arguments. Use of a factory provides the greatest level of control in generating arguments dynamically.