TC-Lite provides a number of Attributes, Assertions and other key features to assist you in writing and running tests.
Assertions
Shows the syntax of assertions, which are used to verify proper behavior of the software under test.
Classic Model | Each supported Assert uses a separate method, whose name indicates what is being tested. |
---|---|
Constraint Model | All Assertions use the same static method, Assert.That, with a Constraint argument that determines the particular test to be made. |
Attributes
Describes how TC-Lite uses attributes to identify tests and control their execution.
CategoryAttribute | Allows tagging tests with a category. |
---|---|
CombinatorialAttribute | |
DefaultToleranceAttribute | |
DescriptionAttribute | |
IgnoreAttribute | Indicates that a test should not be run and specifies the reason. |
PropertyAttribute | |
RandomAttribute | |
RangeAttribute | |
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. |
TestFixtureAttribute | |
TestFixtureSourceAttribute | |
ValuesAttribute | |
ValueSourceAttribute |
Constraints
Lists all constraints supported by TC-Lite and the syntax elements used to invoke them in an assertion.
Parallel Test Execution
Describes the planned parallel execution feature.
Theories
Describes the planned Theories feature.
Assertions
Shows the syntax of assertions, which are used to verify proper behavior of the software under test.
Classic Model | Each supported Assert uses a separate method, whose name indicates what is being tested. |
---|---|
Constraint Model | All Assertions use the same static method, Assert.That, with a Constraint argument that determines the particular test to be made. |
Attributes
Describes how TC-Lite uses attributes to identify tests and control their execution.
CategoryAttribute | Allows tagging tests with a category. |
---|---|
CombinatorialAttribute | |
DefaultToleranceAttribute | |
DescriptionAttribute | |
IgnoreAttribute | Indicates that a test should not be run and specifies the reason. |
PropertyAttribute | |
RandomAttribute | |
RangeAttribute | |
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. |
TestFixtureAttribute | |
TestFixtureSourceAttribute | |
ValuesAttribute | |
ValueSourceAttribute |
Constraints
Lists all constraints supported by TC-Lite and the syntax elements used to invoke them in an assertion.
Parallel Test Execution
Describes the planned parallel execution feature.
Theories
Describes the planned Theories feature.