File: serial.rs

package info (click to toggle)
rust-test-with 0.15.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 512 kB
  • sloc: makefile: 2
file content (18 lines) | stat: -rw-r--r-- 256 bytes parent folder | download | duplicates (2)
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);
}