UHSDR stands for UniversalHamSoftwareDefinedRadio - REPO. So far the UHSDR code cloned as a git submodule and will be updated regularly.
- SoftWare in use:
- Catch2 - run tests on the HOST.
Unity - on the target.Segger RTT - output test results from target.- CMake - as a build processing system.
To cover as much as possible and at the same time do not write fragile tests.
When you start contribute into a project with huge history and legacy it's always very easy to brake it while trying to implement/ enhance something, especialy when there is no any unit and/or integration tests. Indeed, it happens when I addded some features.
The last straw on the camel's back were attempts to catch the bugs in huge, NONE maintainable, glued from chunks the state machine which generate CW code.
To build the confidence on my PRs I'm going start covering by tests the code that I'm touching. I believe it's a good practice, isn't it?
mkdir .build && cd .build
cmake .. -G "proper_to_you_generator"
make