CombiningStrategyAttribute Class

Summary

Marks a test as using a particular CombiningStrategy to join any supplied parameter data. Since this is the default, the attribute is optional.
Namespace
TCLite
Interfaces
Base Types
Derived Types
graph BT Type-->Base0["TCLiteAttribute"] click Base0 "/tc-lite/api/TCLite/TCLiteAttribute" Base0-->Base1["Attribute"] Base1-->Base2["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["CombiningStrategyAttribute"] class Type type-node Derived0["CombinatorialAttribute"]-->Type click Derived0 "/tc-lite/api/TCLite/CombinatorialAttribute"

Syntax

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

Attributes

Type Description
AttributeUsageAttribute

Constructors

Name Summary
CombiningStrategyAttribute(ICombiningStrategy) Construct a CombiningStrategyAttribute incorporating an ICombiningStrategy and an IParameterDataProvider.

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.