Use Cucumber React Component to render Reqnroll output as HTML #302
clrudolphi
started this conversation in
Ideas
Replies: 1 comment
-
Excellent proposal @clrudolphi . And very necessary, especially with the end of Specflow support. Have you thought about having an extension in Azure and Jira to publish this report after running tests in the pipeline, like Specflow LivingDoc does/did? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The implementation of Cucumber Messages support for Reqnroll is making progress.
I have a fork of Cucumber/HtmlFormatter ported over to .NET and it successfully consumes Messages produced by Reqnroll to produce a (somewhat minimal) HTML report for a feature. The Cucumber/HtmlFormatter uses a React component to render the output of a feature run.
An example of such a report is attached
The HtmlFormatter is a library assembly. I have built a rudimentary console app that consumes an .ndjson file (from Reqnroll) and outputs an HTML file. Code is dotnet/htmlformatter
I have not yet submitted this fork to the Cucumber repository.
I propose that the HtmlFormatter library assembly be submitted to the Cucumber/HtmlFormatter repo (alongside the existing Java, Javascript, and Ruby implementations). Reqnroll would then consume it as a Nuget package.
The console sample is not likely worth contributing to either Cucumber or to Reqnroll. I'm happy to keep it on my own github as a sample or to contribute it to the ExploratoryTestProjects repo within Reqnroll.
An alternative packaging would be to keep the library assembly internal within Reqnroll as we further build out our reporting/integration capabilities.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions