esp-idf/components/mqtt/host_test
Darian Leung 5f5daaa420 freertos: Remove legacy hooks
This commit refactors the legacy hooks as follows:

- Removed CONFIG_FREERTOS_LEGACY_HOOKS
- FreeRTOS hooks are now enabled via:
    - CONFIG_FREERTOS_USE_IDLE_HOOK
    - CONFIG_FREERTOS_USE_TICK_HOOK
- Update IDF hooks documentation
2022-02-18 19:56:35 +08:00
..
main mqtt: Adds host tests for mqtt client 2021-06-30 08:55:39 +01:00
mocks freertos: Remove legacy hooks 2022-02-18 19:56:35 +08:00
CMakeLists.txt mqtt: Adds host tests for mqtt client 2021-06-30 08:55:39 +01:00
README.md mqtt: Adds host tests for mqtt client 2021-06-30 08:55:39 +01:00
sdkconfig.defaults mqtt: Adds host tests for mqtt client 2021-06-30 08:55:39 +01:00

Description

This directory contains test code for the mqtt client that runs on host.

Tests are written using Catch2 test framework

Build

Tests build regularly like an idf project.

idf.py build

Run

The build produces an executable in the build folder.

Just run:

./build/host_mqtt_client_test.elf

The test executable have some options provided by the test framework.