Search found 1 match

by spicy_guava
Thu Mar 25, 2021 9:09 pm
Forum: ESP-IDF
Topic: Mocking IDF components with Unity & CMock
Replies: 1
Views: 2262

Mocking IDF components with Unity & CMock

I'm attempting to mock hardware-dependent IDF components so I can implement unit testing. I'm using IDF v4.3, which has cmock as a component. I've managed to generate cmock mocks for the driver/touch_sensor.h header file, using the CMakeLists.txt in the spi_flash component for reference. When I incl...