Note: If you haven’t already, please read the information on upgrading to SpecFlow 2.
Customised Report Templates
New Razor Engine and Syntax
SpecFlow+ Runner 1.3 uses Razor 3.6.1, whereas the previous version used Razor 2.1.0. If you have created a custom report template, you may need to update your template to reflect the 3.6.1 syntax.
IntellisenseUsing intellisense with report templates requires a number of DLLs to be added as references to your project:
Team Foundation Server XAML Build AgentsDifferent SpecFlow+ Runner versions require a different TFS XAML build agent. If you are using TFS XAML build agents with SpecFlow+ Runner and have projects with version 1.2 and projects with version 1.3, you need to ensure that these projects use the appropriate build agent. You can do this by defining tags to differentiate between the two versions. To do so:
- Open the Team Explorer in Visual Studio.
- Click on Builds.
- Right click on your build definition and select Edit Build Definition.
- Click on Process in the pane on the left.
- Open the Advanced | Agent Settings node.
- Enter a suitable Tags filter, e.g. “SpecFlow+ Runner 1.2” or “SpecFlow+ Runner 1.3”.
- Open the TFS Server Administration Console on your build sever. Click on Properties next to the desired build agent and enter the same tag filter as before to assign the desired build agent.