step definition

The C# method that runs when a Gherkin step matches its pattern, connecting plain-language steps to real code.

In more detail

Each Given, When or Then line in a scenario is matched to one step definition. Keep steps thin: call an HTTP client or the application boundary, not private implementation details.

Related terms

Taught in

References