Skip to content

Commit

Permalink
Merge pull request #1217 from Vanille-N/main
Browse files Browse the repository at this point in the history
option `--include-ignored` is now available on stable 1.51
  • Loading branch information
coriolinus authored Mar 26, 2021
2 parents b0da29b + c27028a commit 896f629
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 896f629

Please sign in to comment.