From a9895c3da7f5b80a620d876125133912270497e6 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Mon, 16 Dec 2019 06:53:50 -0500 Subject: [PATCH] Add example about running dpow tests --- doc/unit-tests.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/doc/unit-tests.md b/doc/unit-tests.md index 6025a78bc..9588dd06d 100644 --- a/doc/unit-tests.md +++ b/doc/unit-tests.md @@ -1,12 +1,11 @@ -Compiling/running automated tests ---------------------------------- +# Compiling/running automated tests Automated tests will be automatically compiled if dependencies were met in configure and tests weren't explicitly disabled. There are two scripts for running tests: -* ``qa/zcash/full_test_suite.py``, to run the main test suite +* ``qa/hush/full_test_suite.py``, to run the main test suite * ``qa/pull-tester/rpc-tests.sh``, to run the RPC tests. The main test suite uses two different testing frameworks. Tests using the Boost @@ -15,3 +14,9 @@ framework are under ``src/gtest/`` and ``src/wallet/gtest/``. The latter framewo is preferred for new Hush unit tests. RPC tests are implemented in Python under the ``qa/rpc-tests/`` directory. + +# Example + +To run the Delayed-Proof-of-Work tests: + + ./qa/pull-tester/rpc-tests.sh dpowconfs