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 and managing which tests should be executed for different builds. You can watch the short video here. Note that while the page itself is German, the video is in English.
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 pages and their URLs, so most of your bookmarks should still work. That said, we did some spring cleaning: some ancient pages are gone and we consolidated a number of pages on the new Documentation landing page. All links to SpecFlow-related resources (documentation, tutorials, videos, books, sample projects etc.) are now in one place. The main menu has also changed a bit as a result.
If you spot anything that seems strange of have feedback/suggestions, let us know in the comments below.
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 write Gherkin in languages other than English.
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.