Skip to content

Use cargo-nextest? #1402

@madsmtm

Description

@madsmtm

Our test suite is kinda hacky because we really want to test with specific environment variables set, but we cannot easily set those because Cargo tests are run in parallel in different threads.

Using cargo-nextest to run our test suite would solve that issue, since it runs each #[test] in it's own process (but still in parallel), and thus setting an environment variable would not affect other test runs. See also rust-lang/rust#47506 and rust-lang/rust#67650.

WDYT @NobodyXu?

Metadata

Metadata

Assignees

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