cmake -S host_test -B host_test/build
cmake --build host_test/build
ctest --test-dir host_test/build --output-on-failureSee host_test/README.md.
Covers embed::string, embed::Message, and ThingsBoard TelemetryBuilder / TelemetryBatch.
cd test_apps/embed_unity
idf.py set-target esp32s3
idf.py build flash monitorSame primitives on chip via ESP-IDF Unity (TEST_CASE / unity_run_all_tests).
components/embed/test/ for the IDF unit-test-app (idf.py -T embed).
| Kind | Where |
|---|---|
| Pure logic / POD / string / TB telemetry JSON | host_test/ (+ optional mirror in test_apps/embed_unity) |
| Needs FreeRTOS / esp_event | test_apps/embed_unity or component test/ on device / linux target |
| Hardware | device smoke only |