pub struct TestNodeInfo {
pub node_id: String,
pub file_path: String,
pub lineno: Option<u32>,
pub name: String,
pub class_name: Option<String>,
pub markers: Vec<String>,
pub skip: bool,
pub xfail: bool,
}Expand description
Test node information returned from daemon.
Fields§
§node_id: StringUnique node ID (pytest format).
file_path: StringFile path relative to repo root.
lineno: Option<u32>Line number where test is defined.
name: StringTest function/method name.
class_name: Option<String>Parent class name (if method).
markers: Vec<String>Markers attached to this test.
skip: boolWhether test is marked as skip.
xfail: boolWhether test is marked as xfail.
Trait Implementations§
Source§impl Clone for TestNodeInfo
impl Clone for TestNodeInfo
Source§fn clone(&self) -> TestNodeInfo
fn clone(&self) -> TestNodeInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 TestNodeInfo
impl Debug for TestNodeInfo
Source§impl<'de> Deserialize<'de> for TestNodeInfo
impl<'de> Deserialize<'de> for TestNodeInfo
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 TestNodeInfo
impl PartialEq for TestNodeInfo
Source§impl Serialize for TestNodeInfo
impl Serialize for TestNodeInfo
impl StructuralPartialEq for TestNodeInfo
Auto Trait Implementations§
impl Freeze for TestNodeInfo
impl RefUnwindSafe for TestNodeInfo
impl Send for TestNodeInfo
impl Sync for TestNodeInfo
impl Unpin for TestNodeInfo
impl UnwindSafe for TestNodeInfo
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