Skip to content

Commit

Permalink
option --include-ignored is now available on stable 1.51
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanille-N committed Mar 26, 2021
1 parent b0da29b commit c27028a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion config/exercise_readme.go.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,18 @@ and remove the `#[ignore]` flag from the next test and get the tests to pass
again. Each separate test is a function with `#[test]` flag above it.
Continue, until you pass every test.

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

```bash
$ cargo test -- --ignored
```

If you are using Rust 1.51 or later, you can run _all tests_ with

```bash
$ cargo test -- --include-ignored
```

To run a specific test, for example `some_test`, you can use:

```bash
Expand Down

0 comments on commit c27028a

Please sign in to comment.