Richard Miles

Results 7 comments of Richard Miles

Running your tests with `-v` or `--verbose`, ie `platformio test -e native -v` gives you a tiny bit more information, for example: ```console Example failing test --------------------------------------------------------------------- test/test-example.cpp:43 ..................................................................... test/test-example.cpp:43:...

Following on from the above I edited `ArduinoFake.h` and replaced `_ArduinoFakeInstanceGetter1` with the below: ``` c++ #define _ArduinoFakeInstanceGetter1(mock) \ mock##Fake* mock() \ { \ if (!this->Instances->mock){ \ this->Instances->mock = &this->Mocks->mock.get();...

Upgrading to the latest `fakeit` would be a good idea but I'm not certain it would fix the issue with the warning messages... There are several versions of `fakeit` for...

I think you were missing the `==` operator in `SPISettings` - I've implemented it below and the tests now pass for me even with the commented out line being run....

This library is for testing your code on your laptop / desktop computer rather than on embedded hardware. Looking at the logs it was trying to compile the code for...

Hi Sarwar, I'm glad you've found this library useful. I've not used interrupts in a long time but I do seem to remember that it is encouraged not to do...