Writing tests for a component
Posted: Tue May 30, 2017 5:43 pm
I am writing a component in C++ and I would like to test it. So according to the documentation, I created a directory test and wrote a simple test there in a .c file. How should I now run the test of my component using unit-test-app?
Also, I have noticed there some tests written in the Catch framework, which is included in ESP-IDF. How can I use it to write C++ tests of my component?
Also, I have noticed there some tests written in the Catch framework, which is included in ESP-IDF. How can I use it to write C++ tests of my component?