We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A google search for “cargo test” takes me to this page https://doc.rust-lang.org/cargo/commands/cargo-test.html, which is also the top result returned when searching from within https://doc.rust-lang.org/stable/cargo/.
As a new rust user, i feel that there are only 2 code snippets i need from this page:
cargo test
#[test]
The first item is present, the second is not. If this second bit of info is not present on this page (maybe justifiably bc there are different test types), there should be a link to a page that does contain it, notably https://doc.rust-lang.org/stable/cargo/reference/cargo-targets.html?highlight=cargo%20test#tests.
i would be happy to submit pr if this is acceptable.
Under "SEE ALSO" there should be a link to https://doc.rust-lang.org/stable/cargo/reference/cargo-targets.html?highlight=cargo%20test#tests w/ the description "How to define a test".
if everyone agrees w/ me, pls assign this to me and i'll create a pr w/ a link
current version of the online docs
The text was updated successfully, but these errors were encountered:
Improving documentation is almost always welcome!
From https://doc.rust-lang.org/cargo/commands/cargo-test.html,
and check out the rustc book's chapter on how tests work at https://doc.rust-lang.org/rustc/tests/index.html.
Perhaps that sentence could be reworked to make it clear that it is also the link for "how to write tests".
Sorry, something went wrong.
Fixed with #10417. Thanks!
No branches or pull requests
Problem
A google search for “cargo test” takes me to this page https://doc.rust-lang.org/cargo/commands/cargo-test.html, which is also the top result returned when searching from within https://doc.rust-lang.org/stable/cargo/.
As a new rust user, i feel that there are only 2 code snippets i need from this page:
cargo test
#[test]
The first item is present, the second is not. If this second bit of info is not present on this page (maybe justifiably bc there are different test types), there should be a link to a page that does contain it, notably https://doc.rust-lang.org/stable/cargo/reference/cargo-targets.html?highlight=cargo%20test#tests.
i would be happy to submit pr if this is acceptable.
Steps
Possible Solution(s)
Under "SEE ALSO" there should be a link to https://doc.rust-lang.org/stable/cargo/reference/cargo-targets.html?highlight=cargo%20test#tests w/ the description "How to define a test".
Notes
if everyone agrees w/ me, pls assign this to me and i'll create a pr w/ a link
Version
The text was updated successfully, but these errors were encountered: