Unit Test

doliveira
Posts: 4
Joined: Mon May 23, 2022 5:58 pm

Unit Test

Postby doliveira » Fri May 27, 2022 3:43 pm

I am trying to add unit test to my application. In one of my component directories, I have added a "test" directory, to which I have added some files with the unity test code and the CMakeLists.txt. When I try to build with:
"idf.py -T all build"
I get back: "Error: No such option: -T"

So obviously I have missed something, but unfortunately I have not been able to determine what I need to do.
The example unit-test-app has not been helpful to me.

Who is online

Users browsing this forum: Pedro Hugo PSC and 94 guests