zcash-patched-for-explorer/doc/unit-tests.md

18 lines
710 B
Markdown
Raw Normal View History

Compiling/running automated tests
---------------------------------
Automated tests will be automatically compiled if dependencies were met in configure
and tests weren't explicitly disabled.
2012-06-14 17:44:04 -07:00
There are two scripts for running tests:
2012-06-14 17:44:04 -07:00
* ``qa/zcash/full-test-suite.sh``, to run the main test suite
* ``qa/pull-tester/rpc-tests.sh``, to run the RPC tests.
2012-06-14 17:44:04 -07:00
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.
2013-05-19 21:30:00 -07:00
RPC tests are implemented in Python under the ``qa/rpc-tests/`` directory.