Changeset View
Changeset View
Standalone View
Standalone View
doc/developer-notes.md
Show First 20 Lines • Show All 178 Lines • ▼ Show 20 Lines | |||||
The Qt code routes qDebug() output to debug.log under category "qt": run with -debug=qt | The Qt code routes qDebug() output to debug.log under category "qt": run with -debug=qt | ||||
to see it. | to see it. | ||||
**writing tests** | **writing tests** | ||||
For details on unit tests, see `unit-tests.md` | For details on unit tests, see `unit-tests.md` | ||||
For details on functional tests, see `/test/README.md` | For details on functional tests, see `functional-tests.md` | ||||
**writing script integration tests** | **writing script integration tests** | ||||
Script integration tests are built using `src/test/script_tests.cpp`: | Script integration tests are built using `src/test/script_tests.cpp`: | ||||
1. Uncomment the line with `#define UPDATE_JSON_TESTS` | 1. Uncomment the line with `#define UPDATE_JSON_TESTS` | ||||
2. Add a new TestBuilder to the `script_build` test to cover your test case. | 2. Add a new TestBuilder to the `script_build` test to cover your test case. | ||||
3. `make && ./src/test/test_bitcoin --run_test=script_tests` | 3. `make && ./src/test/test_bitcoin --run_test=script_tests` | ||||
▲ Show 20 Lines • Show All 335 Lines • Show Last 20 Lines |