]>
Commit | Line | Data |
---|---|---|
9f7b947b DH |
1 | Compiling/running automated tests |
2 | --------------------------------- | |
fb537854 | 3 | |
9f7b947b | 4 | Automated tests will be automatically compiled if dependencies were met in configure |
35b8af92 | 5 | and tests weren't explicitly disabled. |
fab7858a | 6 | |
9f7b947b | 7 | There are two scripts for running tests: |
fab7858a | 8 | |
9f7b947b DH |
9 | * ``qa/zcash/full-test-suite.sh``, to run the main test suite |
10 | * ``qa/pull-tester/rpc-tests.sh``, to run the RPC tests. | |
fab7858a | 11 | |
9f7b947b | 12 | The main test suite uses two different testing frameworks. Tests using the Boost |
6316cc2b DH |
13 | framework are under ``src/test/``; tests using the Google Test/Google Mock |
14 | framework are under ``src/gtest/`` and ``src/wallet/gtest/``. The latter framework | |
15 | is preferred for new Zcash unit tests. | |
2341e9b5 | 16 | |
9f7b947b | 17 | RPC tests are implemented in Python under the ``qa/rpc-tests/`` directory. |