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.