pub struct Run {
pub friendly_name: String,
pub run_kind: NextestRunKind,
pub working_dir: ReadVar<PathBuf>,
pub config_file: ReadVar<PathBuf>,
pub tool_config_files: Vec<(String, ReadVar<PathBuf>)>,
pub nextest_profile: String,
pub nextest_filter_expr: Option<String>,
pub run_ignored: bool,
pub with_rlimit_unlimited_core_size: bool,
pub extra_env: Option<ReadVar<BTreeMap<String, String>>>,
pub pre_run_deps: Vec<ReadVar<SideEffect>>,
pub results: WriteVar<TestResults>,
}
Fields§
§friendly_name: String
Friendly name for this test group that will be displayed in logs.
run_kind: NextestRunKind
What kind of test run this is (inline build vs. from nextest archive).
working_dir: ReadVar<PathBuf>
Working directory the test archive was created from.
config_file: ReadVar<PathBuf>
Path to .config/nextest.toml
tool_config_files: Vec<(String, ReadVar<PathBuf>)>
Path to any tool-specific config files
nextest_profile: String
Nextest profile to use when running the source code (as defined in the
.config.nextest.toml
).
nextest_filter_expr: Option<String>
Nextest test filter expression
run_ignored: bool
Whether to run ignored tests
with_rlimit_unlimited_core_size: bool
Set rlimits to allow unlimited sized coredump file (if supported)
extra_env: Option<ReadVar<BTreeMap<String, String>>>
Additional env vars set when executing the tests.
pre_run_deps: Vec<ReadVar<SideEffect>>
Wait for specified side-effects to resolve before building / running any tests. (e.g: to allow for some ambient packages / dependencies to get installed).
results: WriteVar<TestResults>
Results of running the tests
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Run
impl<'de> Deserialize<'de> for Run
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Run
impl RefUnwindSafe for Run
impl Send for Run
impl Sync for Run
impl Unpin for Run
impl UnwindSafe for Run
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more