Clarify the function of the test flag

This commit is contained in:
heisen-li 2024-01-02 16:57:06 +08:00
parent add15366ea
commit 9cf0936121
2 changed files with 8 additions and 8 deletions

View file

@ -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)",

View file

@ -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)