Entries by Stephen McCafferty

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

Note: This issue has been fixed with NUnit 3.8. 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. […]

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 […]

SpecFlow Visual Studio 2017 Sim Ship Announcement

Visual Studio 2017’s official release is just around the corner, and TechTalk and SpecFlow have teamed up with Microsoft as a Sim Ship partner. Microsoft’s Sim Ship (simultaneous shipment) program has been going strong for years, and gives selected Visual Studio partners the opportunity to access migration support, documentation and the latest builds of Visual […]

Sending Execution Reports via Email

We’ve had a number of users ask how to send execution reports via email after the test run has been executed. SpecFlow+ Runner 1.6 (a pre-release version is available on NuGet) introduces the option to give reports static names, i.e. without a time stamp, meaning sending the report as an attachment is now relatively easy […]