generating custom reports with .Net 6.0
Hi,
I'm trying to generate Cucumber JSON reports with SpecFlow.
This was possible using .Net <= 5.0 and SpecFlow Runner, and by using a custom .cshtml (actually SpecFlow provided one in the packages) as described here.
If switching to xUnit, NUnit, MSTest as mentioned here, how can this be achieved? The "Report" configuration, where we specify the template, in a .srprofile is something that is specific of SpecFlow Runner isn't it? So, how can we generate custom reports like the Cucumber JSON one, if using one of the suggested runners for .Net 6.0?
Thanks in advance
-
Hi Sergio Freire,
The short answer is you can't with anything that SpecFlow provide today, there might be a solution somewhere else or you might have to create you own.
If you find anything then please do share it as I'm sure others will have the same question.
0 -
I'm working on the same problem. My .Net teams are moving .Net 6 and we need to output the results of our BBD results into the Cucumber.Json format.
If we solve this problem ourselves is there a good way to share this source back to this community. or maybe have it adopted as part of the spec flow living documentation CLI tool?1
Please sign in to leave a comment.
Comments
2 comments