Test case metadata
Fields
-
path: &[u8]
The module path of the test case
-
name: &[u8]
The test case name
-
test: fn()
The test case function
-
ignore: bool
Whether this test is ignored
Methods
impl TestCase { ... }
-
fn new<F>() -> TestCase
F: NamedFunction + Fn()Create a new test case from a named function
-
fn run(test: &TestCase) -> TestResult
Runs the test case in a forked process