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
error: function is missing a test attribute, such as #[test], #[tokio::test] or #[rstest]
       add one below #[subtest] - attributes written above it are not visible to this macro
       if this function is meant to be a nested subtest, add #[subtest] to the enclosing test function instead
 --> tests/ui/fail/missing_test_attr.rs:4:4
  |
4 | fn parent() {
  |    ^^^^^^