Installation
To install the extension, two solutions :
Configure the SpecFlow Tfs Linker Extension
In Visual Studio 2010, clic on “Tools” / “Options” and look for the “SpecFlow Tfs Linker” section.

On this section, you will be able to modify the behaviour of the plugin.
Regex
- Clean Statement Regex : The regex used be the program to clean the statement and delete the “Given”, “When”, “Then” and “And” word. eg : In TFS, you wrote “Given the user Patrick try to acces to the Index Page”. With the clean statement regex,
you will obtain : “the user Patrick try to acces to the Index Page”.
- Find Parameter Regex : The regex used to find parameters in statement. In test case, when you want to add parameters in the statement, you just have to put them into quote “".
- Find Statement Regex : In TFS, you wrote a complete User Story whith the Given, When, Then and And words. The regex allow the program to extract these Gerkin’s statements.
SpecFlow Generated files
- StepDefinition Template : A link to the T4 template which describes the SpecFlow StepDefinition file.
- Feature Template : A link to the T4 template which describes the SpecFlow Feature file.
SpecFlow Method Parameters
- Display parameter Format :
- FormatParameter ;
Visual Studio Add-In Parameter
TFS Parameter
- Server Name
- User Story query
- Work Item type