cucumber / cucumber/pretty-formatter

Add option to not log skipped features, scenarios, and steps.

Open
#9 0 comments 5 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
4
Forks
0
Avg merge
4d 7h
Merged PRs (30d)
4

Description

**Is your feature request related to a problem? Please describe.**
I have a test suite with a couple hundred scenarios with quite a few steps each. When running all of them with the `--fail-fast` flag and one of them fails somewhere in the middle I'm met with around **4000** lines of skipped features, scenarios, and steps that I have to scroll through to get to what actually went wrong, none of which I find relevant or interesting.

**Describe the solution you'd like**
Add option through the `--format-options` flag to not log skipped features, scenarios, and steps.

I'd be willing to help make a PR myself if someone could give me some pointers where to start looking.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the formatter handles --fail-fast output and how --format-options are parsed. Add an option that suppresses skipped features, scenarios, and steps while retaining the failure output, then verify the formatter's behavior for both enabled and disabled suppression.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.