Duke Leto
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
3 deletions
-
doc/unit-tests.md
-
src/test/rpc_wallet_tests.cpp
|
|
@ -6,12 +6,12 @@ and tests weren't explicitly disabled. |
|
|
|
|
|
|
|
There are two scripts for running tests: |
|
|
|
|
|
|
|
* ``qa/zcash/full-test-suite.sh``, to run the main test suite |
|
|
|
* ``qa/hush/full-test-suite.sh``, 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 |
|
|
|
framework are under ``src/test/``; tests using the Google Test/Google Mock |
|
|
|
framework are under ``src/gtest/`` and ``src/wallet/gtest/``. The latter framework |
|
|
|
is preferred for new Zcash unit tests. |
|
|
|
is preferred for new Hush unit tests. |
|
|
|
|
|
|
|
RPC tests are implemented in Python under the ``qa/rpc-tests/`` directory. |
|
|
|
|
|
@ -314,7 +314,6 @@ BOOST_AUTO_TEST_CASE(rpc_wallet_getbalance) |
|
|
|
BOOST_CHECK_THROW(CallRPC("z_listreceivedbyaddress tnRZ8bPq2pff3xBWhTJhNkVUkm2uhzksDeW5PvEa7aFKGT9Qi3YgTALZfjaY4jU3HLVKBtHdSXxoPoLA3naMPcHBcY88FcF 1"), runtime_error); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This test covers RPC command z_validateaddress |
|
|
|
*/ |
|
|
|