Use Cucumber React Component to render Reqnroll output as HTML #302
Replies: 3 comments 5 replies
-
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.
-
Great to hear that your implementation of Cucumber Messages in ReqnRoll is progressing well. I'm looking forward to migrate our SpecFlow projects to ReqnRoll, including support for a LivingDoc-style report. Could you share what the final solution in ReqnRoll will look like? For example, will it generate a TestExecution.ndjson file out of the box, or will Cucumber Messages be made available for consumption via plugins or hooks? At the moment, I'm working on an alternative version of a ReqnRoll LivingDoc report, but I’ll need to finalize integration based on your upcoming implementation. Can you share any detailed information or examples that could help support this alternative solution? Demo Report: https://expressium.dev/reqnroll/LivingDoc.html |
Beta Was this translation helpful? Give feedback.
-
Hey ReqnRoll - What is the status on the Cucumber Messages ndjson implementation...? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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