Replies: 1 comment
-
|
There is already some built-in support for filtering passed vs failed scenarios in the out-of-the-box HTML formatter. When a Feature has a mix of passing and failing scenarios, the search bar includes color-coded buttons with the number of scenarios in that status.
Those colored buttons respond to mouse clicks, so if you click on the "PASSED" button to deselect it, the passing scenarios are removed from the display leaving only the failing ones.
This works for single scenarios, but does not seem to work for passing/failing tests in a Scenario Outline (based upon my quick/dirty experimentation with it). If this filtering approach works for you and filtering of Scenario Outlines is important to you, then it might be worth reporting the issue over at Cucumber/React-Components Another option is to post-process the output of the A more complicated option would be a custom formatter plug-in (see the sample at Reqnroll.ExploratoryTestProjects |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
We currently generate HTML reports for all our test results, but have noticed that these files can become quite large. To address this, I propose creating an HTML report that only includes failed tests. This approach should significantly reduce the overall file size, making it more manageable and easier to review.
I'm interested in hearing thoughts and feedback on this idea.
Beta Was this translation helpful? Give feedback.
All reactions