Alexey Gerenkov 55f1a63faf esp32: Adds functionality for application tracing over JTAG il y a 9 ans
..
components 45581dbaca freertos: Delay context switch from queue/task APIs until exiting critical section il y a 8 ans
main 45581dbaca freertos: Delay context switch from queue/task APIs until exiting critical section il y a 8 ans
tools 6a759e7cef CI: fix bug in generating UT CI runner config: il y a 8 ans
Makefile d390449371 add unit tests to esp-idf il y a 9 ans
README.md 15d96eccdb add build all unit tests in project.mk and update doc il y a 9 ans
partition_table_unit_test_app.csv b99d5df922 unit tests: Shrink unit test partition table so tests can run on 2MB of flash il y a 8 ans
sdkconfig 55f1a63faf esp32: Adds functionality for application tracing over JTAG il y a 8 ans

README.md

Unit Test App

ESP-IDF unit tests are run using Unit Test App. The app can be built with the unit tests for a specific component. Unit tests are in test subdirectories of respective components.

Building Unit Test App

  • Follow the setup instructions in the top-level esp-idf README.
  • Set IDF_PATH environment variable to point to the path to the esp-idf top-level directory.
  • Change into tools/unit-test-app directory
  • make menuconfig to configure the Unit Test App.
  • make TEST_COMPONENTS= with TEST_COMPONENTS set to names of the components to be included in the test app. Or make TESTS_ALL=1 to build the test app with all the tests for components having test subdirectory.
  • Follow the printed instructions to flash, or run make flash.