Using Tags in SpecFlow Features
December 13, 2010
Since I first read about Cucumber in the excellent RSpec Book, the concept of tags has been one that I haven’t really grasped. I liked the idea as outlined here, which states that you can use tags to organize your features and only run a subset of them. The uber-cool @wip
tag allows you to limit the number of items in progress for the team, perfect for Kanban lovers.
OK – but when I got around to trying it in SpecFlow, I was a bit disappointed to learn that only @ignore
was supported… Or was it?
@ignore
@ignore
is the only tag supported by default and is translated to IGNORE
in your test framework of choice (for example, Ignore in NUnit or MsTest). This can be used to disable features and/or scenarios...