mirror of
https://github.com/espressif/esp-mqtt.git
synced 2025-11-15 14:59:38 +01:00
A number of IDF specific FreeRTOS API additions will be moved to `#include "freertos/idf_additions.h". Mock tests need to include these to properly use them as mock functions.
| Supported Targets | Linux |
|---|
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.