Skip to content

Files

Latest commit

author
endlessloop2
Aug 25, 2018
9c04c30 · Aug 25, 2018

History

History
18 lines (12 loc) · 683 Bytes

unit-tests.md

File metadata and controls

18 lines (12 loc) · 683 Bytes

Compiling/running unit tests

Unit tests will be automatically compiled if dependencies were met in ./configure and tests weren't explicitly disabled.

After configuring, they can be run with make check.

To run the monead tests manually, launch src/test/test_monea.

To add more monead tests, add BOOST_AUTO_TEST_CASE functions to the existing .cpp files in the test/ directory or add new .cpp files that implement new BOOST_AUTO_TEST_SUITE sections.

To run the monea-qt tests manually, launch src/qt/test/test_monea-qt

To add more monea-qt tests, add them to the src/qt/test/ directory and the src/qt/test/test_main.cpp file.