Skip to content

--duration More precise terminal message when tests with small duration are hidden #6940

@smarie

Description

@smarie

Currently when tests are skipped because of the --duration flag, a generic message is printed to terminal:

(0.00 durations hidden.  Use -vv to show these durations.)

I suggest to improve it slightly with the number of hidden tests, as well as precise threshold:

(7 items with duration < 0.005s hidden.  Use -vv to show these durations.)

What do you think ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: reportingrelated to terminal output and user-facing messages and errorstype: proposalproposal for a new feature, often to gather opinions or design the API around the new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions