Skip to content

Console output for execution time of tests #13125

@afcmrp

Description

@afcmrp

What's the problem this feature will solve?

The possibility to see execution time of each test as soon as they complete.

Describe the solution you'd like

An additional config option for console_output_style seems like a good solution. The output should be as human-readable, detailed and short as possible (or a good compromise between the three).

For most of my projects, progress/count have not provided useful information, but timings would have been. It's nice to keep track of execution times for tests to spot performance regressions etc early. Other users seem to have had the same need: #8268

Alternative Solutions

I know that the flag --duration=0 reports tests duration retroactively, but I would like to see it as soon as the test is finished.

Additional context

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