2013-05-28 01:55:01 +02:00
|
|
|
Compiling/running unit tests
|
2012-06-15 02:44:04 +02:00
|
|
|
------------------------------------
|
|
|
|
|
2015-11-23 21:11:53 +01:00
|
|
|
Unit tests will be automatically compiled if dependencies were met in `./configure`
|
2013-05-28 01:55:01 +02:00
|
|
|
and tests weren't explicitly disabled.
|
2012-06-15 02:44:04 +02:00
|
|
|
|
2015-11-23 21:11:53 +01:00
|
|
|
After configuring, they can be run with `make check`.
|
2013-05-20 06:30:00 +02:00
|
|
|
|
2024-02-05 23:00:22 +01:00
|
|
|
To run the neobytesd tests manually, launch `src/test/test_neobytes`.
|
2012-06-15 02:44:04 +02:00
|
|
|
|
2024-02-05 23:00:22 +01:00
|
|
|
To add more neobytesd tests, add `BOOST_AUTO_TEST_CASE` functions to the existing
|
2015-11-23 21:11:53 +01:00
|
|
|
.cpp files in the `test/` directory or add new .cpp files that
|
2013-05-28 01:55:01 +02:00
|
|
|
implement new BOOST_AUTO_TEST_SUITE sections.
|
2012-06-15 02:44:04 +02:00
|
|
|
|
2024-02-05 23:00:22 +01:00
|
|
|
To run the neobytes-qt tests manually, launch `src/qt/test/test_neobytes-qt`
|
2013-05-20 06:30:00 +02:00
|
|
|
|
2024-02-05 23:00:22 +01:00
|
|
|
To add more neobytes-qt tests, add them to the `src/qt/test/` directory and
|
2013-05-28 01:55:01 +02:00
|
|
|
the `src/qt/test/test_main.cpp` file.
|