pub struct TestSuite {
pub name: String,
pub description: Option<String>,
pub case_count: usize,
}Expand description
Grouped test case metadata.
Fields§
§name: String§description: Option<String>§case_count: usizeImplementations§
Source§impl TestSuite
impl TestSuite
pub fn new(name: impl Into<String>) -> Self
pub fn with_case_count(name: impl Into<String>, case_count: usize) -> Self
pub fn with_description( name: impl Into<String>, description: impl Into<String>, ) -> Self
pub fn name(&self) -> &str
pub fn description(&self) -> Option<&str>
pub const fn case_count(&self) -> usize
Trait Implementations§
impl Eq for TestSuite
impl StructuralPartialEq for TestSuite
Auto Trait Implementations§
impl Freeze for TestSuite
impl RefUnwindSafe for TestSuite
impl Send for TestSuite
impl Sync for TestSuite
impl Unpin for TestSuite
impl UnsafeUnpin for TestSuite
impl UnwindSafe for TestSuite
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