updated text on how to run the unit tests

This commit is contained in:
proddy
2024-09-19 18:37:21 +02:00
parent 788efb1266
commit 8762f9c64a

View File

@@ -239,9 +239,10 @@ lib_ldf_mode = off
lib_ignore = Module EMS-ESP-Modules lib_ignore = Module EMS-ESP-Modules
; unit tests ; unit tests
; pio run -e native-test -t exec ; The code is in test/test_api.h/cpp
; works on Linux, Windows, and MacOS ; to run use `pio run -e native-test -t exec`. All tests should PASS.
; to update the test results, compile with -DEMSESP_UNITY_CREATE, run and capture the output and then paste this into the test_api.cpp file ; to update the test results, compile with -DEMSESP_UNITY_CREATE by uncommenting the line below
; then run and capture the output between "START - CUT HERE" and "END - CUT HERE" into the test_api.h file
[env:native-test] [env:native-test]
platform = native platform = native
test_build_src = true test_build_src = true