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.
 
 
 
 
 
 

770 B

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/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 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 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