Class ScenarioOptions
- Namespace
- TinyBDD
- Assembly
- TinyBDD.dll
public record ScenarioOptions : IEquatable<ScenarioOptions>
- Inheritance
-
ScenarioOptions
- Implements
- Inherited Members
Properties
ContinueOnError
If true, the scenario will continue executing steps even if one or more previous steps have failed. Defaults to false.
public bool ContinueOnError { get; init; }
Property Value
HaltOnFailedAssertion
If true, the scenario will halt execution on the first failed assertion.
public bool HaltOnFailedAssertion { get; init; }
Property Value
MarkRemainingAsSkippedOnFailure
If true, all remaining steps will be marked as skipped if the scenario fails.
public bool MarkRemainingAsSkippedOnFailure { get; init; }
Property Value
ShowBackgroundSection
If true, background steps will be shown in a separate "Background:" section in Gherkin output. Defaults to false (background steps are shown inline).
public bool ShowBackgroundSection { get; init; }
Property Value
ShowFeatureSetup
If true, feature setup steps will be shown in the Gherkin output. Defaults to false (feature setup is typically internal and not shown).
public bool ShowFeatureSetup { get; init; }
Property Value
ShowFeatureTeardown
If true, feature teardown steps will be shown in the Gherkin output. Defaults to false (feature teardown is typically internal and not shown).
public bool ShowFeatureTeardown { get; init; }
Property Value
StepTimeout
If set, all steps will be timed out after the specified duration.
public TimeSpan? StepTimeout { get; init; }