mirror of
https://github.com/rust-lang/cargo
synced 2024-10-13 03:02:45 +00:00
Clarify the function of the test flag
This commit is contained in:
parent
add15366ea
commit
9cf0936121
|
@ -38,12 +38,12 @@ pub fn cli() -> Command {
|
|||
)
|
||||
.arg_targets_all(
|
||||
"Test only this package's library unit tests",
|
||||
"Test only the specified binary",
|
||||
"Test all binaries",
|
||||
"Test only the specified binary's unit tests",
|
||||
"Test all binaries's unit tests",
|
||||
"Test only the specified example",
|
||||
"Test all examples",
|
||||
"Test only the specified test target",
|
||||
"Test all test targets",
|
||||
"Test only the specified target's integration tests",
|
||||
"Test all test targets's integration tests and library unit tests",
|
||||
"Test only the specified bench target",
|
||||
"Test all bench targets",
|
||||
"Test all targets (does not include doctests)",
|
||||
|
|
|
@ -29,12 +29,12 @@ Package Selection:
|
|||
|
||||
Target Selection:
|
||||
--lib Test only this package's library unit tests
|
||||
--bins Test all binaries
|
||||
--bin [<NAME>] Test only the specified binary
|
||||
--bins Test all binaries's unit tests
|
||||
--bin [<NAME>] Test only the specified binary's unit tests
|
||||
--examples Test all examples
|
||||
--example [<NAME>] Test only the specified example
|
||||
--tests Test all test targets
|
||||
--test [<NAME>] Test only the specified test target
|
||||
--tests Test all test targets's integration tests and library unit tests
|
||||
--test [<NAME>] Test only the specified target's integration tests
|
||||
--benches Test all bench targets
|
||||
--bench [<NAME>] Test only the specified bench target
|
||||
--all-targets Test all targets (does not include doctests)
|
||||
|
|
Loading…
Reference in a new issue