mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
updated text on how to run the unit tests
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user