pub struct ParameterizedTestNode {
pub param_names: Vec<String>,
pub param_values: Vec<(Vec<String>, Option<String>, Vec<String>)>,
pub test_id: String,
}Expand description
Information about a parametrized test variant.
Fields§
§param_names: Vec<String>Parameter names (e.g., [“x”, “y”] for “x,y”)
param_values: Vec<(Vec<String>, Option<String>, Vec<String>)>Parameter values, custom IDs, and per-variant marks for each variant. Each tuple is (values, custom_id, marks) where:
- values: the parameter values
- custom_id: custom ID from pytest.param(id=“…”) if provided
- marks: per-variant marks from pytest.param(marks=…)
test_id: StringGenerated test ID for a specific variant
Trait Implementations§
Source§impl Clone for ParameterizedTestNode
impl Clone for ParameterizedTestNode
Source§fn clone(&self) -> ParameterizedTestNode
fn clone(&self) -> ParameterizedTestNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParameterizedTestNode
impl Debug for ParameterizedTestNode
Source§impl<'de> Deserialize<'de> for ParameterizedTestNode
impl<'de> Deserialize<'de> for ParameterizedTestNode
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
Source§impl PartialEq for ParameterizedTestNode
impl PartialEq for ParameterizedTestNode
Source§impl Serialize for ParameterizedTestNode
impl Serialize for ParameterizedTestNode
impl StructuralPartialEq for ParameterizedTestNode
Auto Trait Implementations§
impl Freeze for ParameterizedTestNode
impl RefUnwindSafe for ParameterizedTestNode
impl Send for ParameterizedTestNode
impl Sync for ParameterizedTestNode
impl Unpin for ParameterizedTestNode
impl UnsafeUnpin for ParameterizedTestNode
impl UnwindSafe for ParameterizedTestNode
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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