I am using the Unity unit test framework in the IDF, and would like to provide fake data from hardware ports. (UART, SPI, GPIO, ADC, etc)
Does any one have suggestions on how to write unit tests for functions that access ESP32 hardware?
Has anyone used CMock, and have advice or opinions about it?
Thanks!
Phil.
Unity Unit Testing of Hardware (with CMock)
Re: Unity Unit Testing of Hardware (with CMock)
Hi.
Here is a simple example that can be useful for what you want.
https://gitlab.com/deltalejo/esp32-unity-fff-demo
Here is a simple example that can be useful for what you want.
https://gitlab.com/deltalejo/esp32-unity-fff-demo
Who is online
Users browsing this forum: No registered users and 120 guests