SpecFlowOSS / SpecFlow.Rider

SpecFlow support for both ReSharper and Rider
MIT License
29 stars 18 forks source link

GitHub Gitter

SpecFlow Support for ReSharper and Rider

The "SpecFlow Support" plugin adds specific functionality for the SpecFlow to Rider. (Resharper will come if requested enough)

IMPORTANT: This plugin is still at it's beginning, It may be still buggy. Don't hesitate to report any bug or cool feature to add and don't forget to :+1: any feature you want to help prioritize.

Build plugin

./gradlew :buildPlugin

You can find CI builds in Actions tab

Features

All those feature should work out of the box for existing projects. If something is not working, please report it with a sample of code (step / step definition) of what is not working. Also check for error notification in the bottom status bar of Rider.

Syntax highlight

Syntax highlight

Go to step declaration

Go to declaration example

Error highlight on missing step and Create Step quick fix

Quick fix example

Run tests from SpecFlow files

Run test in gutter example

Rename step definition to match with their pattern

Rename step definition example

Highlight the failing steps after running tests

Highlight the failing steps

Note: If this is not working, try to add the following configuration in the specflow.json

{
  "trace": {
    "traceTimings": true
  }
}

Limitations

Notes

Thanks to all the people on the #dotnet-pluginwriters Slack channel for their help ! Thanks to Settler and threefjefff for their works on this.