From f5189b4d093d3ce49b8ccd19d04c03c328ce8fcb Mon Sep 17 00:00:00 2001 From: proddy Date: Sat, 22 Aug 2026 13:23:21 +0200 Subject: [PATCH] mention how to update unit tests --- platformio.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platformio.ini b/platformio.ini index 782b82c57..2a512e488 100644 --- a/platformio.ini +++ b/platformio.ini @@ -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