feat(aws_iot): add aws_iot support

IDF: release/v3.1, commit: 66dad0c5
This commit is contained in:
Wu Jian Gang
2018-07-10 22:07:16 +08:00
parent 0248c6dc2a
commit 1d1ae209af
118 changed files with 20683 additions and 0 deletions

View File

@ -0,0 +1,12 @@
## Unit Tests
This folder contains unit tests to verify Embedded C SDK functionality. These have been tested to work with Linux using CppUTest as the testing framework.
CppUTest is not provided along with this code. It needs to be separately downloaded. These tests have been verified to work with CppUTest v3.6, which can be found [here](https://github.com/cpputest/cpputest/tree/v3.6).
Each test contains a comment describing what is being tested. The Tests can be run using the Makefile provided in the root folder for the SDK. There are a total of 187 tests.
To run these tests, follow the below steps:
* Copy the code for CppUTest v3.6 from github to external_libs/CppUTest
* Navigate to SDK Root folder
* run `make run-unit-tests`
This will run all unit tests and generate coverage report in the build_output folder. The report can be viewed by opening <SDK_Root>/build_output/generated-coverage/index.html in a browser.