Entries by Stephen McCafferty

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

Video: Traits in SpecFlow

Sophie Keiblinger from TechTalk has taken time out from her testing duties to share a couple of insights into how she and her team use traits (tags) in SpecFlow. This ranges from keeping track of the user stories associated with changes to scenarios, using traits to communicate the status of tests with other team members […]

SpecFlow VS Integration 2017.1 Released

SpecFlow Visual Studio integration 2017.1 has been released. This version introduces basic support for Visual Studio 2017, as well as supporting earlier versions of Visual Studio. There are however some limitations when using Visual Studio 2017: This version does not support the new project system in Visual Studio 2017. Support for the new project system […]

Website Redesign

We’re sure you’ve already noticed that the SpecFlow website has changed in appearance. We’ve tried to tidy things up a little and have made a few changes to the site, in particular the News section, which now has categories and filters. To make the transition as painless as possible, we have retained most of the […]

Anatomy of a Gherkin

Dirk Rombauts from Pickles Pro has written an in-depth guide to the Gherkin syntax called Anatomy of a Gherkin. It’s a great introduction to the Gherkin syntax. As well as tackling the various Gherkin keywords, Dirk has drawn on his extensive experience to include practical tips and potential pitfalls, as well as explaining how to […]

Dependency Injection with Autofac and Unity

Gaspar Nagy recently released SpecFlow.Autofac, a plugin that allows you to use the popular Autofac dependency injection framework with SpecFlow. You can read more about it on Gaspar’s blog as well as download the project and use it as a starting point for your own. Paul Hatcher did just that and has published a version […]

SpecFlow V2.1 Released

SpecFlow V2.1 has been officially released and is available to download from NuGet. The most important changes are: Updated to Gherkin 4.0.0 parser Plugin interface for generator and runtime plugins Changed to an event-based interface and added additional hooks for customizing TestThread and scenario dependencies Two new assist methods, FindInSet and FindAllInSet. The following issue […]