Hush Full Node software. We were censored from Github, this is where all development happens now.
https://hush.is
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
770 B
23 lines
770 B
4 years ago
|
# Compiling/running automated tests
|
||
8 years ago
|
|
||
8 years ago
|
Automated tests will be automatically compiled if dependencies were met in configure
|
||
11 years ago
|
and tests weren't explicitly disabled.
|
||
12 years ago
|
|
||
8 years ago
|
There are two scripts for running tests:
|
||
12 years ago
|
|
||
4 years ago
|
* ``qa/hush/full_test_suite.py``, to run the main test suite
|
||
8 years ago
|
* ``qa/pull-tester/rpc-tests.sh``, to run the RPC tests.
|
||
12 years ago
|
|
||
8 years ago
|
The main test suite uses two different testing frameworks. Tests using the Boost
|
||
8 years ago
|
framework are under ``src/test/``; tests using the Google Test/Google Mock
|
||
|
framework are under ``src/gtest/`` and ``src/wallet/gtest/``. The latter framework
|
||
4 years ago
|
is preferred for new Hush unit tests.
|
||
11 years ago
|
|
||
8 years ago
|
RPC tests are implemented in Python under the ``qa/rpc-tests/`` directory.
|
||
4 years ago
|
|
||
|
# Example
|
||
|
|
||
|
To run the Delayed-Proof-of-Work tests:
|
||
|
|
||
|
./qa/pull-tester/rpc-tests.sh dpowconfs
|