Skip to content

By default, print the total time taken to execute a test suite #75660

Closed

Description

At the moment, the test output looks like this:

running 514 tests
.................................................................................................... 100/514
.................................................................................................... 200/514
.................................................................................................... 300/514
.................................................................................................... 400/514
.................................................................................................... 500/514
..............
test result: ok. 514 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

It would be very helpful if the last line said

test result: ok. 514 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; 9.2s

I think we should print this by default, without any kind of flag.

This is related, but not equal to --report-time options: #64663

cc @jakoschiko

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    A-libtestArea: `#[test]` / the `test` libraryC-feature-requestCategory: A feature request, i.e: not implemented / a PR.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions