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: Gaston1980, Majestic-12 [Bot] and 270 guests