C# Class TechTalk.SpecFlow.Generator.UnitTestProvider.MbUnitTestGeneratorProvider

Inheritance: IUnitTestGeneratorProvider
Datei anzeigen Open project: aqueduct/SpecflowWithNunitRunner Class Usage Examples

Public Methods

Method Description
FinalizeTestClass ( TestClassGenerationContext generationContext ) : void
MbUnitTestGeneratorProvider ( CodeDomHelper codeDomHelper ) : System
SetRow ( TestClassGenerationContext generationContext, CodeMemberMethod testMethod, IEnumerable arguments, IEnumerable tags, bool isIgnored ) : void
SetRowTest ( TestClassGenerationContext generationContext, CodeMemberMethod testMethod, string scenarioTitle ) : void
SetTestBackgroundMethod ( TestClassGenerationContext generationContext, CodeMemberMethod backgroundMethod, ScenarioSteps steps ) : void
SetTestClass ( TestClassGenerationContext generationContext, string featureTitle, string featureDescription ) : void
SetTestClassCategories ( TestClassGenerationContext generationContext, IEnumerable featureCategories ) : void
SetTestClassCleanupMethod ( TestClassGenerationContext generationContext ) : void
SetTestClassIgnore ( TestClassGenerationContext generationContext ) : void
SetTestClassInitializeMethod ( TestClassGenerationContext generationContext ) : void
SetTestCleanupMethod ( TestClassGenerationContext generationContext ) : void
SetTestInitializeMethod ( TestClassGenerationContext generationContext ) : void
SetTestMethod ( TestClassGenerationContext generationContext, CodeMemberMethod testMethod, string scenarioTitle ) : void
SetTestMethodAsRow ( TestClassGenerationContext generationContext, CodeMemberMethod testMethod, string scenarioTitle, string exampleSetName, string variantName, string>.IEnumerable arguments ) : void
SetTestMethodCategories ( TestClassGenerationContext generationContext, CodeMemberMethod testMethod, IEnumerable scenarioCategories ) : void
SetTestMethodIgnore ( TestClassGenerationContext generationContext, CodeMemberMethod testMethod ) : void

Method Details

FinalizeTestClass() public method

public FinalizeTestClass ( TestClassGenerationContext generationContext ) : void
generationContext TestClassGenerationContext
return void

MbUnitTestGeneratorProvider() public method

public MbUnitTestGeneratorProvider ( CodeDomHelper codeDomHelper ) : System
codeDomHelper CodeDomHelper
return System

SetRow() public method

public SetRow ( TestClassGenerationContext generationContext, CodeMemberMethod testMethod, IEnumerable arguments, IEnumerable tags, bool isIgnored ) : void
generationContext TestClassGenerationContext
testMethod System.CodeDom.CodeMemberMethod
arguments IEnumerable
tags IEnumerable
isIgnored bool
return void

SetRowTest() public method

public SetRowTest ( TestClassGenerationContext generationContext, CodeMemberMethod testMethod, string scenarioTitle ) : void
generationContext TestClassGenerationContext
testMethod System.CodeDom.CodeMemberMethod
scenarioTitle string
return void

SetTestBackgroundMethod() public method

public SetTestBackgroundMethod ( TestClassGenerationContext generationContext, CodeMemberMethod backgroundMethod, ScenarioSteps steps ) : void
generationContext TestClassGenerationContext
backgroundMethod System.CodeDom.CodeMemberMethod
steps ScenarioSteps
return void

SetTestClass() public method

public SetTestClass ( TestClassGenerationContext generationContext, string featureTitle, string featureDescription ) : void
generationContext TestClassGenerationContext
featureTitle string
featureDescription string
return void

SetTestClassCategories() public method

public SetTestClassCategories ( TestClassGenerationContext generationContext, IEnumerable featureCategories ) : void
generationContext TestClassGenerationContext
featureCategories IEnumerable
return void

SetTestClassCleanupMethod() public method

public SetTestClassCleanupMethod ( TestClassGenerationContext generationContext ) : void
generationContext TestClassGenerationContext
return void

SetTestClassIgnore() public method

public SetTestClassIgnore ( TestClassGenerationContext generationContext ) : void
generationContext TestClassGenerationContext
return void

SetTestClassInitializeMethod() public method

public SetTestClassInitializeMethod ( TestClassGenerationContext generationContext ) : void
generationContext TestClassGenerationContext
return void

SetTestCleanupMethod() public method

public SetTestCleanupMethod ( TestClassGenerationContext generationContext ) : void
generationContext TestClassGenerationContext
return void

SetTestInitializeMethod() public method

public SetTestInitializeMethod ( TestClassGenerationContext generationContext ) : void
generationContext TestClassGenerationContext
return void

SetTestMethod() public method

public SetTestMethod ( TestClassGenerationContext generationContext, CodeMemberMethod testMethod, string scenarioTitle ) : void
generationContext TestClassGenerationContext
testMethod System.CodeDom.CodeMemberMethod
scenarioTitle string
return void

SetTestMethodAsRow() public method

public SetTestMethodAsRow ( TestClassGenerationContext generationContext, CodeMemberMethod testMethod, string scenarioTitle, string exampleSetName, string variantName, string>.IEnumerable arguments ) : void
generationContext TestClassGenerationContext
testMethod System.CodeDom.CodeMemberMethod
scenarioTitle string
exampleSetName string
variantName string
arguments string>.IEnumerable
return void

SetTestMethodCategories() public method

public SetTestMethodCategories ( TestClassGenerationContext generationContext, CodeMemberMethod testMethod, IEnumerable scenarioCategories ) : void
generationContext TestClassGenerationContext
testMethod System.CodeDom.CodeMemberMethod
scenarioCategories IEnumerable
return void

SetTestMethodIgnore() public method

public SetTestMethodIgnore ( TestClassGenerationContext generationContext, CodeMemberMethod testMethod ) : void
generationContext TestClassGenerationContext
testMethod System.CodeDom.CodeMemberMethod
return void