Skip to content

Commit

Permalink
Merge pull request #4116 from rust-lang/chriskrycho/mention-rustc-book
Browse files Browse the repository at this point in the history
Link to tests section of rustc book for `cargo test -- --help` docs
  • Loading branch information
chriskrycho authored Nov 27, 2024
2 parents 34afc7a + 871ace8 commit 66db452
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/ch11-02-running-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ binary. To separate these two types of arguments, you list the arguments that
go to `cargo test` followed by the separator `--` and then the ones that go to
the test binary. Running `cargo test --help` displays the options you can use
with `cargo test`, and running `cargo test -- --help` displays the options you
can use after the separator.
can use after the separator. Those options are also documented in [the “Tests”
section][tests] of the [the rustc book][rustc].

[tests]: https://doc.rust-lang.org/rustc/tests/index.html
[rustc]: https://doc.rust-lang.org/rustc/index.html


### Running Tests in Parallel or Consecutively

Expand Down

0 comments on commit 66db452

Please sign in to comment.