pub struct FileTestResults {
pub path: PathBuf,
pub tests: Vec<TestResult>,
pub skipped: Vec<SkippedTest>,
pub compile_error: Option<String>,
}Expand description
Results for a single test file
Fields§
§path: PathBufPath to the test file
tests: Vec<TestResult>Individual test results
skipped: Vec<SkippedTest>Words named test-* whose stack effect isn’t ( -- ) and were
therefore not promoted to test entry points. Surfaced so the user
can tell the difference between “helper picked up by accident”
(issue #435) and “test silently disappeared”.
compile_error: Option<String>Compilation error if file failed to compile
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileTestResults
impl RefUnwindSafe for FileTestResults
impl Send for FileTestResults
impl Sync for FileTestResults
impl Unpin for FileTestResults
impl UnsafeUnpin for FileTestResults
impl UnwindSafe for FileTestResults
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