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 begining, It may be still buggy. Don't hesitate to report any bug or cool feature to add and don't forget to
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
Go to step declaration
Error highlight on missing step and Create Step quick fix
Run tests from SpecFlow files
Rename step definition to match with their pattern
Highlight the failing steps after running tests
Note: If this is not working, try to add the following configuration in the specflow.json
{
"trace": {
"traceTimings": true
}
}
Limitations
- For now, it only supports step definitions using Regular expressions in attributes. If you are interested in the other ones, please open an issue.
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.