Until now, the MCU code has been suspiciously devoid of unit tests. This is because unit testing embedded code is difficult. However, it is possible.
Using ceedling in conjunction with the Fake Function Framework, it should be possible to create some simple unit tests that can run on the host computer.
Someone should go through the MCU code, identify points that can easily be unit-tested, write tests for them, and fix/report any uncovered bugs. Ideally, the tests should be run automatically from "deploy.py" as well.
Until now, the MCU code has been suspiciously devoid of unit tests. This is because unit testing embedded code is difficult. However, it is possible.
Using ceedling in conjunction with the Fake Function Framework, it should be possible to create some simple unit tests that can run on the host computer.
Someone should go through the MCU code, identify points that can easily be unit-tested, write tests for them, and fix/report any uncovered bugs. Ideally, the tests should be run automatically from "deploy.py" as well.