Skip to content

Commit

Permalink
[site] add note about doctests to the homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshowers committed Apr 26, 2022
1 parent f7414f0 commit f4043b1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions site/src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ cargo nextest run

For more detailed installation instructions, see [Installation](book/installation.md).

> Note: Doctests are currently [not supported](https://github.com/nextest-rs/nextest/issues/16) because of limitations in stable Rust. For now, run doctests in a separate step with `cargo test --doc`.
## Crates in this project

| Crate | crates.io | rustdoc (latest version) | rustdoc (main) |
Expand Down
2 changes: 1 addition & 1 deletion site/src/book/listing.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ cargo nextest list

![Output of cargo nextest list](../static/nextest-list.png)

[^doctest]: Doctests are currently [not supported](https://github.com/nextest-rs/nextest/issues/16) because of limitations in stable Rust.
[^doctest]: Doctests are currently [not supported](https://github.com/nextest-rs/nextest/issues/16) because of limitations in stable Rust. For now, run doctests in a separate step with `cargo test --doc`.

## Options and arguments

Expand Down
3 changes: 2 additions & 1 deletion site/src/book/running.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ cargo nextest run --no-capture

In this mode, cargo-nextest will run tests *serially* so that output from different tests isn't interspersed. This is different from `cargo test -- --nocapture`, which will run tests in parallel.

[^doctest]: Doctests are currently [not supported](https://github.com/nextest-rs/nextest/issues/16) because of limitations in stable Rust.
[^doctest]: Doctests are currently [not supported](https://github.com/nextest-rs/nextest/issues/16) because of limitations in stable Rust. For now, run doctests in a separate step with `cargo test --doc`.


## Options and arguments

Expand Down

0 comments on commit f4043b1

Please sign in to comment.