In the process of developing firmware, we need to maintain code quality and to make sure code is implemented as designed. That’s where we’re going to need testing phase. There are lots of testing, but I will mentioned some of them:
- Unit Testing. Test a single block or module of your firmware
- Integration Testing. Test multiple blocks to make sure they are playing nicely
- System Testing. Literally test the whole system to make sure it doesn’t break
- Stress Testing. Test how the system behaves under high load.
- Performance Testing. Test how fast a system finish its work (i.e. Signal processing project, Object detection, etc)
- Power Testing. Test how much energy the device eats while doing its job
For unit and integration test, we are going to use Catch2 Framework.
Now, let’s define the project requirements! Go to page ‣.