Skip to content

libtest: provide a way to run *all* tests #50363

Closed
@vext01

Description

@vext01

I originally raised this against Cargo, but I've since learned that this is to do with libtest inside Rust itself.

So we have:

cargo test

To run all but ignored tests. Then:

cargo test -- --ignored

To run only ignored tests.

But as far as I can see there is no way to run all tests in parallel short of:

cargo test & cargo test -- --ignored

Which isn't ideal for scripting and is not convenient.

How about?

cargo test -- --all

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-libtestArea: `#[test]` / the `test` libraryC-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions