Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 630 Bytes

unit-tests.md

File metadata and controls

16 lines (11 loc) · 630 Bytes

Compiling/running unit tests

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

To run the syscoind tests launch src/test/test_syscoin.

To add more syscoind 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 syscoin-qt tests manually, launch src/qt/test/test_syscoin-qt

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