C# Класс TechTalk.SpecFlow.RuntimeTests.ScenarioStepContextTests

Показать файл Открыть проект

Приватные методы

Метод Описание
CleanupStepContext_WhenCleanedUpMoreOftenThanInitialized_ShouldTraceWarning ( ) : void
CleanupStepContext_WhenInitializedAsOftenAsCleanedUp_ShouldNotTraceWarning ( ) : void
CleanupStepContext_WhenNotInitialized_ShouldTraceWarning ( ) : void
CreateStepInfo ( string text, StepDefinitionType stepDefinitionType = StepDefinitionType.Given ) : StepInfo

Creates a StepInfo instance, with the specified text and optional step definition type.

CreateTestThreadObjectContainer ( ITestTracer testTracer ) : IObjectContainer

Creates a test thread object container and registers the provided test tracer.

CurrentTopLevelStepDefinitionType_AfterInitializationAndCleanupAndNewInitializationAndCleanup_ShouldReportSecondStepType ( ) : void
CurrentTopLevelStepDefinitionType_AfterInitializationAndCleanupAndNewInitialization_ShouldReportSecondStepType ( ) : void
CurrentTopLevelStepDefinitionType_AfterInitializingNewScenarioContext_ShouldReportNull ( ) : void
CurrentTopLevelStepDefinitionType_AfterInitializingSubStepThatHasASubStepItselfAndCompletingDeepestLevelOfSteps_ShouldReportOriginalStepType ( ) : void
CurrentTopLevelStepDefinitionType_WhenInitializedTwiceAndCleanedUpOnce_ShouldReportFirstStepType ( ) : void
CurrentTopLevelStepDefinitionType_WhenInitializedTwiceAndCleanedUpTwice_ShouldReportFirstStepType ( ) : void
CurrentTopLevelStepDefinitionType_WhenInitializedTwice_ShouldReportFirstStepType ( ) : void
CurrentTopLevelStepDefinitionType_WhenInitialized_ShouldReportCorrectStepType ( ) : void
CurrentTopLevelStepDefinitionType_WithoutInitialization_ShouldReportNull ( ) : void
Dispose_InConsistentState_ShouldNotThrowException ( ) : void
Dispose_InInconsistentState_ShouldNotThrowException ( ) : void
InitializeStepContext_WhenInitializedTwice_ShouldNotTraceWarning ( ) : void
ResolveContextManager ( ITestTracer testTracer ) : IContextManager

Resolves the context manager and registers the provided test tracer.

StepContext_WhenInitializedOnce_ShouldReportStepInfo ( ) : void
StepContext_WhenInitializedTwiceAndCleanedUpOnce_ShouldReportFirstStepInfo ( ) : void
StepContext_WhenInitializedTwiceAndCleanedUpTwice_ShouldReportNoStepInfo ( ) : void
StepContext_WhenInitializedTwice_ShouldReportSecondStepInfo ( ) : void
StepInfoConstructor_WithValidValues_ShouldReportThoseValuesCorrectly ( ) : void