Open joellozano30 opened 12 months ago
If you run with --verbose
should get a bit more info platformio test -e native -v
But the error is likely BC Serial1
is not implemented.
There are some some instructions here https://github.com/FabioBatSilva/ArduinoFake/blob/master/CONTRIBUTING.md on how to add in case you wanna give it a go.
I think for this one is mostly reusing the what is already in place for Serial
I'm starting a embedded project wich uses ESP32 microcontroller using the Arduino Framework and some modules like a Sigfox Module. I want to test a function which send messages via Sigfox:
But when I test it with my test function:
The result of the test show me how the function Serial.print() wasn't mocked:
How can i fix these errors? I believe that I'am mocking Serial.print() wrongly. Additionaly, there is a way to use Serial1.print() instead of Serial.print() with ArduinoFake? It would help me to other functions that I want to adapt to test also.