mention how to update unit tests

This commit is contained in:
proddy
2026-08-22 13:23:21 +02:00
parent 55b882cec2
commit f5189b4d09
+2 -1
View File
@@ -196,9 +196,10 @@ lib_ldf_mode = off
lib_deps =
; unit tests
; The test code is in ./test/test_api.cpp and the test_api.h file is created by the native-test-create environment.
; The test code is in ./test/test_api.cpp and the test_api.h file is generated by the native-test-create environment.
; to run use `platformio run -e native-test -t exec`. All tests should PASS.
; tip: use https://jsondiff.com/ to compare the expected and actual responses.
; to update the test output run `python3 scripts/generate_test_api.py`
[env:native-test]
platform = native
test_build_src = true