SpecFlow Execution Reports with XUnit

One of the nice things about open source software is that sometimes you don’t need to write code you think you need to.

I have found that it is possible to generate SpecFlow execution reports with assemblies built against xunit even though SpecFlow doesn’t explicitly support this.

The suprise is that xunit.console will generate nunit compatible Xml Results.

So all we need is –

  • xunit.console Bowling.Specflow.dll /nunit TestResult.xml
  • specflow nunitexecutionreport ..\..\Bowling.Specflow.csproj

Hope that helps someone.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
This entry was posted in Uncategorized. Bookmark the permalink.