|
AWS IoT Device SDK C:
MQTT
MQTT 3.1.1 client library
|
| Return to main page ↑ |
Tests written for the MQTT library.
The MQTT tests reside in the mqtt/test directory. They are divided into the following subdirectories:
access: Helper files that allow access to internal variables and functions of the MQTT library.mock: Simulates network responses to MQTT packets; used for testing other libraries that depend on MQTT.system: MQTT system and stress tests. These tests require a network connection. Stress tests may run for a long time, so they are not run unless the command line option -l is given to the test executable.unit: MQTT unit tests. These tests do not require a network connection.See Test Configuration for configuration settings that change the behavior of the tests.
The current MQTT tests use the Unity test framework. See Building and running the tests for a guide on running the tests.