esp-idf/components/mqtt/host_test
Djordje Nedic facab8c5a7 tools: Increase the minimal supported CMake version to 3.16
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00: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 tools: Increase the minimal supported CMake version to 3.16 2022-06-01 06:35:02 +00: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.