Darian Leung 9b3796d2f1 freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions 4 лет назад
..
main f6d23bfee1 mqtt: Adds host tests for mqtt client 4 лет назад
mocks 9b3796d2f1 freertos: Add portTRY_ENTRY_CRITICAL() and deprecate legacy spinlock fucntions 4 лет назад
CMakeLists.txt f6d23bfee1 mqtt: Adds host tests for mqtt client 4 лет назад
README.md f6d23bfee1 mqtt: Adds host tests for mqtt client 4 лет назад
sdkconfig.defaults f6d23bfee1 mqtt: Adds host tests for mqtt client 4 лет назад

README.md

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.