Skip to content

Commit 896f629

Browse files
authored
Merge pull request #1217 from Vanille-N/main
option `--include-ignored` is now available on stable 1.51
2 parents b0da29b + c27028a commit 896f629

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

config/exercise_readme.go.tmpl

+7-1
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,18 @@ and remove the `#[ignore]` flag from the next test and get the tests to pass
2323
again. Each separate test is a function with `#[test]` flag above it.
2424
Continue, until you pass every test.
2525

26-
If you wish to run all ignored tests without editing the tests source file, use:
26+
If you wish to run _only ignored tests_ without editing the tests source file, use:
2727

2828
```bash
2929
$ cargo test -- --ignored
3030
```
3131

32+
If you are using Rust 1.51 or later, you can run _all tests_ with
33+
34+
```bash
35+
$ cargo test -- --include-ignored
36+
```
37+
3238
To run a specific test, for example `some_test`, you can use:
3339

3440
```bash

0 commit comments

Comments
 (0)