You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried copying the public part of the relevant header files to a separate folder, including their dependencies.
I gave them a different name, like HTTPCLient_Mock.h, WiFiClient.h. I removed the #include for the Client class in WiFiClient.h and replaced it by class Client;
In my code I conditionally include the real or mocking headers:
I am working a lot on ESP32 mcu's. This arduino core's have some libraries which are used a lot (WiFi, UDP, Ethernet, etc.).
how do you handle situations like this?
The text was updated successfully, but these errors were encountered: