test-with 0.14.10

A lib help you run test with condition
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use serial_test::serial;

#[tokio::main]
async fn main() {}

#[serial]
#[test_with::env(NOTHING)]
#[tokio::test]
async fn my_test_1() {
    assert!(false);
}

#[serial]
#[test_with::env(NOTHING)]
#[tokio::test]
async fn my_test_2() {
    assert!(false);
}