CombinatorialAttribute Class

Summary

Marks a test to use a combinatorial join of any argument data provided. Since this is the default, the attribute is optional.
graph BT Type-->Base0["CombiningStrategyAttribute"] click Base0 "/tc-lite/api/TCLite/CombiningStrategyAttribute" Base0-->Base1["TCLiteAttribute"] click Base1 "/tc-lite/api/TCLite/TCLiteAttribute" Base1-->Base2["Attribute"] Base2-->Base3["object"] Type-.->Interface0["ITestCaseFactory"] click Interface0 "/tc-lite/api/TCLite.Interfaces/ITestCaseFactory" Type-.->Interface1["IApplyToTest"] click Interface1 "/tc-lite/api/TCLite.Interfaces/IApplyToTest" Type-.->Interface2["IImplyFixture"] click Interface2 "/tc-lite/api/TCLite.Interfaces/IImplyFixture" Type["CombinatorialAttribute"] class Type type-node

Syntax

[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public sealed class CombinatorialAttribute : CombiningStrategyAttribute, ITestCaseFactory, 
    IApplyToTest, IImplyFixture

Attributes

Type Description
AttributeUsageAttribute

Constructors

Name Summary
CombinatorialAttribute() Default constructor

Methods

Name Value Summary
ApplyToTest(ITest) void
Modify the test by adding the name of the combining strategy to the properties.
GetTestCasesFor(MethodInfo) IEnumerable<ITestCaseData>
Builds any number of tests from the specified method and context.