Entries by Stephen McCafferty

SpecFlow+ LivingDoc 0.1.9 Released

SpecFlow+ LivingDoc has been updated. If you are using the VSTS version, you will automatically receive this update. TFS users will need to download the extension from the marketplace. This release introduces a number of UX improvements and additional features: Click on Show source when viewing the documentation to switch to the source file in […]

SpecFlow+ Runner 1.6.1 Released

SpecFlow+ Runner 1.6.1 is now available from NuGet. This minor release and adds support for the “Run Functional Tests” task in TFS/VSTS and fixes the following issues: Project paths containing a hash character (‘#’) no longer cause a file not found exception Tests are no longer duplicated in the Test Explorer in VS

Issue with SpecFlow+ Runner and Latest Visual Studio 2017 Version

We have discovered an issue that affects SpecFlow+ Runner with Visual Studio 2017. When adding the NuGet package to your project, a default profile is added to your project (default.srprofile). During the installation process, the projectName and projectId should be entered automatically in this profile. When installing the packages with the latest version of Visual […]

Fit-for-purpose Gherkin

A common mistake I see is the tendency to write Gherkin specification as if they were a series of instructions describing the algorithm for how the test is executed: “enter X” or “open page Y”. This is understandable; after all, it’s how you might write a standard test script. It’s very easy to continue using […]

Conflict with SpecFlow+ Runner and NUnit 3.7.1

NUnit 3.7.1 introduced changes that break NUnit tests executed with SpecFlow+ Runner when using NUnit’s Assert function. This results in an error similar to the following: Object reference not set to an instance of an object.System.NullReferenceException: Object reference not set to an instance of an object. at NUnit.Framework.Assert.That[TActual](TActual actual, IResolveConstraint expression, String message, Object[] args) […]

New SpecFlow+ Renewal Policy

A number of customers have contacted us in the past asking for option to renew their support period for SpecFlow+ so they can upgrade to a newer version. Until now, the only official option in this case was to purchase a new license at full cost. This seems unfair on those users who want to […]

SpecFlow+ 1.6 Released

SpecFlow+ 1.6.0 has been officially released and can now be downloaded. SpecFlow+ Runner New Features Support for SpecFlow 2.2.0 Execution time of scenarios and features added to standard report template New configuration setting to handle conflicts with existing report files with the same name (overwrite, rename) Support for placeholders in additional report file names (current […]

SpecFlow 2.2.0 Released

SpecFlow 2.2.0 has been officially released and can now be downloaded. Core Changes: Projects are now read by XML instead of using MSBuild. The general functionality is working. If something is missing or you experience any problems, please submit an issue and look here Before/AfterFeature Hooks can now access the FeatureContext by parameter, see #779 Upgrade […]

Podcast with SpecFlow creator Gaspar Nagy

SpecFlow creator Gaspar Nagy recently joined Aslak Hellesoy, Matt Wynne and Arti Mathanda for March’s Cucumber Podcast. In the podcast, Gaspar talks about the origins of SpecFlow and how working on SpecFlow changed his life. He also sheds some light on the future of SpecFlow and his own plans, including teasing us with the prospect […]

New SpecFlow+ Sample Projects Available

We’ve added a number of new samples to the SpecFlow+ sample repository on GitHub: WindowsAppDriver: Demonstrates using the WindowsAppDriver with SpecFlow+ and the Windows calculator. CustomDeploymentSteps: Sample project based on the previous WindowsAppDriver project that demonstrates custom deployment steps. ExcelExample: A relatively simple calculator project using SpecFlow+ Excel. Different operations (add/subtract/divide/multiply) are specified using a […]