Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions tests/functional/new_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
//! data, so it can't be range-matched. The selection layer is supposed to
//! list it via nextest and tag it `(new)` in the verbose output.
//!
//! Two failure modes are guarded here. A perpetually-`#[ignore]`d test is
//! always listed but never collected, so it must not read as "new" forever.
//! And the listing must build with the same cargo features as the run, or a
//! feature-gated new test is invisible to detection — checked for `run` and
//! for `status`, which has to reach the same answer to be worth anything as a
//! dry run.
//! Several failure modes are guarded here. A perpetually-`#[ignore]`d test is
//! always listed but never collected, so it must not read as "new" forever. A
//! test that becomes `#[ignore]`d after collection keeps its coverage rows, so
//! it must be dropped from the `affected` selection too — a separate path from
//! new-test detection. And the listing must build with the same cargo features
//! as the run, or a feature-gated new test is invisible to detection — checked
//! for `run` and for `status`, which has to reach the same answer to be worth
//! anything as a dry run.

use std::path::Path;

Expand Down
Loading