subtest 1.0.3

macro to easily use test setup code from one test function in another one
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
fn parent() {}
mod parent_subtests {
    use super::*;
    fn child() {}
}
#[rustc_main]
#[coverage(off)]
#[doc(hidden)]
pub fn main() -> () {
    extern crate test;
    test::test_main_static(&[])
}