-
Notifications
You must be signed in to change notification settings - Fork 1
Home
This is a quick introduction to 'TeamCity.Specflow.Reporting' (tsr for short). Enjoy!
TeamCity.Specflow.Reporting is a low ceremony, convention over configuration, PowerShell module that automates the process of executing SpecFlow features via specflow.exe to produce a html report that can be shown in TeamCity.
It's distributed via NuGet and requires minimal configuration in TeamCity.
It also, automatically, handles the error caused by .NET 4 or higher:
"
The element <ParameterGroup> beneath element <UsingTask> is unrecognized.
"
...discussed here.
I've looked at some of the examples of creating SpecFlow reports in TeamCity and thought that it was quite a manual/repetitive task. I created some of these PowerShell scripts for my own needs and they worked quite well so I though I'd might as well clean them up and distribute them and maybe they will help someone else.
It should be easy!
The PowerShell module that you'll use only contain one "public" function, Invoke-TeamCitySpecFlowReport
. Most things are convention-based which means that it will just work without having to configure everything. However most of the conventions can be customized to fit your needs (see the examples for details).
- PowerShell 3.0 (we're working on a fix for this)