I'm trying to generate a nice HTML output for my specflow features from Visual Studio. I have resharper installed and I can run my feature tests but I would like to get an html output of the final results.
I have tried several sites which say we can create an External Tools. Here are my settings:
Title: SpecFlow Test Result
Command:C:\TFS\Test_Automation\a.1_Main\Test\AutoUpdateTests\AutoUpdateTests\packages\SpecFlow.1.9.0\tools\specflow.exe
Arguments: nunitexecutionreport AutoUpdateTests.csproj /xmlTestResult:bin\debug\TestResult.xml
Initial directory: $(ProjectDir)
so then I execute my tests and then select Tools -> SpecFlow Test Result
I see a cmd window open briefly but no TestResult.xml file appears.
Any ideas? I also have referenced nunit.framework in my project not sure that matters.
Thanks
I've written a blog post that describes how this is accomplished, yes it's about MsTest but the general idea is the same
Also - in the last 2 minutes of this video Rob Conery hooks Visual Studio up with the SpecFlow test runner, if you rather watch than read.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With