Table of Contents

Class BddStepException

Namespace
TinyBDD
Assembly
TinyBDD.dll

Represents an exception that occurs during a BDD (Behavior-Driven Development) step execution. This class is used to wrap exceptions occurring during the execution of BDD steps, including information about the failed step context such as its kind and title.

[Serializable]
public class BddStepException : Exception, ISerializable
Inheritance
BddStepException
Implements
Inherited Members

Constructors

BddStepException(string, ScenarioContext, Exception)

Represents an exception that occurs during a BDD (Behavior-Driven Development) step execution. This class is used to wrap exceptions occurring during the execution of BDD steps, including information about the failed step context such as its kind and title.

public BddStepException(string message, ScenarioContext context, Exception innerException)

Parameters

message string
context ScenarioContext
innerException Exception

Properties

Context

public ScenarioContext Context { get; }

Property Value

ScenarioContext