File tree 1 file changed +2
-6
lines changed
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -9,16 +9,12 @@ accessed by the `SPEEDTEST` (and `SPEEDTEST_*`) environment variables.
9
9
To do a simple speed test of a lint (e.g. ` allow_attributes ` ), use this command.
10
10
11
11
``` sh
12
- $ SPEEDTEST=ui TESTNAME=" allow_attributes" cargo uitest -- --nocapture
12
+ $ SPEEDTEST=ui TESTNAME=" allow_attributes" cargo uitest
13
13
```
14
14
15
15
This will test all ` ui ` tests (` SPEEDTEST=ui ` ) whose names start with ` allow_attributes ` . By default, ` SPEEDTEST ` will
16
16
iterate your test 1000 times. But you can change this with ` SPEEDTEST_ITERATIONS ` .
17
17
18
18
``` sh
19
- $ SPEEDTEST=toml SPEEDTEST_ITERATIONS=100 TESTNAME=" semicolon_block" cargo uitest -- --nocapture
19
+ $ SPEEDTEST=toml SPEEDTEST_ITERATIONS=100 TESTNAME=" semicolon_block" cargo uitest
20
20
```
21
-
22
- > ** WARNING** : Be sure to use ` -- --nocapture ` at the end of the command to see the average test time. If you don't
23
- > use ` -- --nocapture ` (e.g. ` SPEEDTEST=ui ` ` TESTNAME="let_underscore_untyped" cargo uitest -- --nocapture ` ), this
24
- > will not show up.
You can’t perform that action at this time.
0 commit comments