Entries by Stephen McCafferty

Changes to the SpecFlow Visual Studio Extension

The Visual Studio extension has been updated for SpecFlow 3. The following is a summary of the changes. Visual Studio 2019 Support The latest version of the Visual Studio extension is compatible with Visual Studio 2019. Legacy Single File Generator We strongly recommend using the MSBuild integration to generate your code behind files. However, when […]

Updating to SpecFlow 3

IMPORTANT INFORMATION Changelogs You can find an overview of the new features in SpecFlow and SpecFlow+ Runner here. The full changelog for SpecFlow is here. More information on using SpecFlow with .NET Core can be found here. Make a Backup! Before upgrading to the latest version, ensure you have a backup of your project (either […]

SpecFlow+ LivingDoc 0.2.19 Released

SpecFlow+ LivingDoc 0.2.19 has been released and is available on the Visual Studio marketplace. This version includes the following changes: Changing the build definition/branch selection or selecting a node in the feature tree updates the URL in the address bar Opening a link to LivingDoc containing a feature/scenario now selects the corresponding drop-down entries and […]

Generating Code Behind Files using MSBuild

Since SpecFlow 1.9, your can generate the code-behind files for feature files (*.feature.cs) at compile time. To do so, you need to use a MSBuild Task. Pros Feature files and code-behind files are always in sync No need to check the feature.cs files into your source control system Works without Visual Studio Works for both […]

SpecFlow 3 VSIX Considerations

As announced here, we need to update the SpecFlow Visual Studio extension (VSIX) for SpecFlow 3. The updates mean the new extension will not be compatible with older versions of SpecFlow ( <2.3.2). We plan to update the SpecFlow Visual Studio extension with the SpecFlow 3-compatible version when SpecFlow 3 is officially released. Note that […]

Hacktoberfest – Contribute to Open Source Projects (including SpecFlow)!

Hacktoberfest is an annual event lasting from 1-31 October, aimed at encouraging contributions to open source projects. Hacktoberfest is open to everyone, from seasoned contributors to first-time contributors. During Hacktoberfest, pull requests you contribute to open source projects are counted. The first 50,000 contributors to reach 5 PRs will receive a T-shirt as a thank […]

SpecFlow+ LivingDoc Updated to 0.2.6

SpecFlow+ LivingDoc has been updated to 0.2.6 and is now available on the Visual Studio marketplace. New features and UI Improvements When searching, nodes in the tree are only displayed if they contain the search term directly, or if a child node contains the search term. Nodes with no hits are now hidden. Indirect matches […]