Features

The SpecFlow for Rider plugin is bundled with a handful of features, see below for more details.

Creating steps

The plugin allows you to quickly create a step and also highlights when a step is missing. To do this, click on an unbound step, click on view action list, and then click on Create step:

Rider_createstep

Test results

The SpecFlow plugin also displays the test results for a specific Gherkin step. You can see whether a test has passed or failed and also execute it by pressing the button:

Rider_results

Auto renaming

The plugin also automatically detects any mismatch in step definition names and displays suggestions to match it to its pattern:

Rider_match

Syntax highlighting

Syntax highlighting helps you quickly identify unbound steps in your feature files by underlining them:

Syntax step

The absence of a red underline indicates that the step is bound. Notice the parameters in bound steps are also colored differently, in this example light grey.

Syntax parameter

> Note: Syntax highlighting colors may vary depending on your Rider theme.

Table formatting

Tables are expanded and formatted automatically in feature files. You can use the keyboard shortcuts (Ctrl + Alt + Enter) or go to Code ➡ Reformat Code to apply correct formatting on the entire feature file.

table formatting

SpecFlow logo Please note we are always working to improve and introduce new features to make the plugin more versatile and easy to use.