Skip to content

Exclude 'unknown' scenarios from html report #49

Closed
@oellul

Description

@oellul

🤔 What's the problem you're trying to solve?

The HTML report currently includes all specified scenarios, even those that aren't being run. This, in my opinion, makes the report less intuitive, as there can potentially be a lot to visually filter through just to see the scenarios that were run. Also I don't see any reason to include scenarios that are purposely tagged out of the run.

✨ What's your proposed solution?

Probably the simplest solution would be to have the "unknown" scenario status filter disabled by default.
IMO a more preferable solution would be to completely omit them from the report, as I just don't see the point of them being there.

⛏ Have you considered any alternatives or workarounds?

Yes, an easy workaround is to hide the scenarios just by deselecting the "unknown" status filter, but just having them displayed by default may be counter-intuitive especially to those within an organisation not particularly well versed in Cucumber and only interested in seeing Pass/Fail scenarios.

Additional context

To reproduce, simply tag a scenario/feature with @wip, and run cucumber with not @wip in the tag expression.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions