]>
Commit | Line | Data |
---|---|---|
fb537854 NW |
1 | *** Warning: This document has not been updated for Zcash and may be inaccurate. *** |
2 | ||
35b8af92 | 3 | Compiling/running unit tests |
fab7858a GA |
4 | ------------------------------------ |
5 | ||
35b8af92 CF |
6 | Unit tests will be automatically compiled if dependencies were met in configure |
7 | and tests weren't explicitly disabled. | |
fab7858a | 8 | |
35b8af92 | 9 | After configuring, they can be run with 'make check'. |
2341e9b5 | 10 | |
35b8af92 | 11 | To run the bitcoind tests manually, launch src/test/test_bitcoin . |
fab7858a | 12 | |
35b8af92 | 13 | To add more bitcoind tests, add `BOOST_AUTO_TEST_CASE` functions to the existing |
fab7858a | 14 | .cpp files in the test/ directory or add new .cpp files that |
35b8af92 | 15 | implement new BOOST_AUTO_TEST_SUITE sections. |
fab7858a | 16 | |
f9a8fc4b | 17 | To run the bitcoin-qt tests manually, launch src/qt/test/test_bitcoin-qt |
2341e9b5 | 18 | |
35b8af92 CF |
19 | To add more bitcoin-qt tests, add them to the `src/qt/test/` directory and |
20 | the `src/qt/test/test_main.cpp` file. |