pub struct TestSuite<TypeToTest> {
pub title: String,
pub description: String,
pub test_cases: Vec<Box<dyn TestCase<TypeToTest>>>,
}
Expand description
A test suite to run.
Fields§
§title: String
The test suite’s title
description: String
The test suite’s description
test_cases: Vec<Box<dyn TestCase<TypeToTest>>>
The test cases
Implementations§
Auto Trait Implementations§
impl<TypeToTest> Freeze for TestSuite<TypeToTest>
impl<TypeToTest> !RefUnwindSafe for TestSuite<TypeToTest>
impl<TypeToTest> !Send for TestSuite<TypeToTest>
impl<TypeToTest> !Sync for TestSuite<TypeToTest>
impl<TypeToTest> Unpin for TestSuite<TypeToTest>
impl<TypeToTest> !UnwindSafe for TestSuite<TypeToTest>
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