From a4168f251569231ca2211a37031274cacdb09a8c Mon Sep 17 00:00:00 2001 From: Luke Schoen Date: Thu, 7 Mar 2019 22:13:49 +0100 Subject: [PATCH] docs: Update Readme with example of how to run tests only for a single package (#1946) --- substrate/README.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/substrate/README.adoc b/substrate/README.adoc index 4c3fdaf6cc..0d4825347a 100644 --- a/substrate/README.adoc +++ b/substrate/README.adoc @@ -237,11 +237,13 @@ Then build the code: cargo build # Builds all native code ---- -You can run the tests if you like: +You can run all the tests if you like: [source, shell] cargo test --all +Or just run the tests of a specific package (i.e. `cargo test -p srml-assets`) + You can start a development chain with: [source, shell]