From dfb36897ccdeb7325effc1d250f2f31ec902674e Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Fri, 1 May 2020 13:39:09 +0200 Subject: [PATCH] docs(cargo): explain that platform specific tests aren't executed by default --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 12e47747e..d22dd83da 100644 --- a/README.md +++ b/README.md @@ -215,6 +215,12 @@ Cargo: $ cargo test ``` +By default, `cargo test` only runs the common programs. To run also platform +specific tests, run: +```bash +$ cargo test --features unix +``` + If you would prefer to test a select few utilities: ```bash $ cargo test --features "chmod mv tail" --no-default-features