We should integrate a unit test framework into the project.
- Modern coding agents are quite good at adding unit tests to an existing codebase, which may already catch some bugs
- We can add specific tests whenever we fix a bug to ensure the same bug does not return in later development
- Allows for test driven development which might be a promising approach for some of our issues
Unit tests can be run both locally during development and in a pipeline on pull requests. Unit test frameworks can create well formatted test reports which a pipeline can paste into a pull request.
https://cpputest.github.io/ looks promising. It is specifically designed for embedded C/Cpp, but there are many other options
We should integrate a unit test framework into the project.
Unit tests can be run both locally during development and in a pipeline on pull requests. Unit test frameworks can create well formatted test reports which a pipeline can paste into a pull request.
https://cpputest.github.io/ looks promising. It is specifically designed for embedded C/Cpp, but there are many other options