esp-idf/components/mqtt/host_test
Euripedes Rocha 736424c366 [MQTT] Simplifies MQTT CMakeLists file
- Uses mocks from tools instead of creating them.
- Move host based definition to test code.
2022-09-19 09:11:15 +00:00
..
main [MQTT] Simplifies MQTT CMakeLists file 2022-09-19 09:11:15 +00:00
mocks [MQTT] Simplifies MQTT CMakeLists file 2022-09-19 09:11:15 +00:00
CMakeLists.txt [MQTT] Simplifies MQTT CMakeLists file 2022-09-19 09:11:15 +00:00
README.md docs: changes docs supported targets tables 2022-07-14 08:26:32 +08:00
sdkconfig.defaults mqtt: Adds host tests for mqtt client 2021-06-30 08:55:39 +01:00

README.md

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.