From d18b05043d5999a938b22f09e91f743564426fa3 Mon Sep 17 00:00:00 2001 From: Marko Bencun Date: Wed, 2 Mar 2022 14:51:37 +0100 Subject: [PATCH] README: docs on how to run unit tests It is helpful for contributors to discover how to run unit tests easily. --- README.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.rst b/README.rst index c253c590b..5c68775f9 100644 --- a/README.rst +++ b/README.rst @@ -112,7 +112,13 @@ Finally, to start Electrum:: ./run_electrum +Run unit tests with `pytest`: + pytest electrum/tests -v + +To run a single file, specify it directly like this: + + pytest electrum/tests/test_bitcoin.py -v Creating Binaries =================