From 1ea448486765639ae0db543b05c22523eb158acc Mon Sep 17 00:00:00 2001 From: Jake Vossen Date: Tue, 19 Oct 2021 08:47:52 -0600 Subject: [PATCH] cargo-test: add --nocapture example (#7098) --- pages/common/cargo-test.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/cargo-test.md b/pages/common/cargo-test.md index 813237e315..3b6c3222f6 100644 --- a/pages/common/cargo-test.md +++ b/pages/common/cargo-test.md @@ -26,3 +26,7 @@ - Run tests for a package: `cargo test --package {{package}}` + +- Run tests without hiding output from test executions: + +`cargo test -- --nocapture`