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