Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Feature req: Remove pending examples details by default #2377

Closed
@marko-avlijas

Description

@marko-avlijas

Reasoning

I like to work using guard and running file I am working on in documentation mode, then if it passes running all tests.

Sometimes I will write a serious of specs using just it with no block so I can think about the subject. My concentration is needlessly broken with verbose pending output and yellow colors, so I tend to comment out pending examples and uncomment them as I implement them which is waste of time.

Solution

Default output already tells me I have pending examples. Just remove the details.

Finished in 0.66204 seconds (files took 0.77603 seconds to load)
738 examples, 0 failures, 10 pending 

If someone wants to see all pending examples in his source code, he can run last command with option --show-pending

Alternative

If you want to keep current output by default then perhaps if we can get an option like this.

rspec --no-pending-details

Metadata

Metadata

Assignees

No one assigned

    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