简体   繁体   English

在 Jetbrains Rider 中使用 SpecFlow

[英]Using SpecFlow in Jetbrains Rider

Is there any way to use SpecFlow in Jetbrains Rider?有没有办法在 Jetbrains Rider 中使用 SpecFlow? I searched about it but I couldn't find any information about it.我搜索了它,但找不到任何有关它的信息。

As of March 2021 there is now a Rider Plugin for SpecFlow.截至 2021 年 3 月,现在有一个适用于 SpecFlow 的 Rider 插件。 You can find it at https://plugins.jetbrains.com/plugin/15957-specflow-for-rider您可以在https://plugins.jetbrains.com/plugin/15957-specflow-for-rider找到它


SpecFlow has two parts. SpecFlow 有两个部分。 The Visual Studio extension and the NuGet packages. Visual Studio 扩展和 NuGet 包。
In the Visual Studio Extension are the intellisense, syntax highlighting and item templates included. Visual Studio 扩展中包含智能感知、语法突出显示和项目模板。 The NuGet package contains the runtime and the generators for the code behind files. NuGet 包包含运行时和代码隐藏文件的生成器。

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/ ).代码隐藏文件的生成可以由 Visual Studio 扩展(默认行为)或在构建时( 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.因此,如果您使用 MSBuild 集成并在没有智能感知和语法突出显示的情况下工作,您应该已经能够在 Jetbrains Rider 中使用 SpecFlow。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM