3 ms·
Stuff that directly touches the hardware is hard to unit test. But embedded systems have a lot of timing and sequencing stuff that can be unit tested. I unit
by AnimalMuppet 9y ago
Stuff that directly touches the hardware is hard to unit test. But embedded systems have a lot of timing and sequencing stuff that can be unit tested. I unit test that fairly thoroughly.
And it's amazing some of the things unit tests have turned up for me. Timing errors. Race conditions. Calling a (pure) virtual function in the destructor of the base class. Semaphore deadlocks.