Search code examples
c#specflowrider

Using SpecFlow in Jetbrains Rider


Is there any way to use SpecFlow in Jetbrains Rider? I searched about it but I couldn't find any information about it.


Solution

  • As of March 2021 there is now a Rider Plugin for SpecFlow. You can find it at https://plugins.jetbrains.com/plugin/15957-specflow-for-rider


    SpecFlow has two parts. The Visual Studio extension and the NuGet packages.
    In the Visual Studio Extension are the intellisense, syntax highlighting and item templates included. The NuGet package contains the runtime and the generators for the code behind files.

    The generation of the code behind files can be triggered by the Visual Studio extension (default behaviour) or at build time (http://specflow.org/documentation/Generate-Tests-from-MsBuild/). There are the generated coded tests located, that get then discovered by the unit test runner.

    So if you use the MSBuild integration and work without intellisense and syntax highlighting, you should be already able to work with SpecFlow in Jetbrains Rider.