Unit Testing Embedded Software [closed]
What best practices have you used in unit testing embedded software that are peculiar to embedded systems? Embedded software may have come a long way in the last 10 years but we generally did the following: for algorithms that didn't depend on the target hardware, we simply had unit tests that were built and tested on a non-embedded platform. for stuff that did require the hardware, unit tests were conditionally compiled into the code to use whatever hardware was available. In our case, it was a serial port on the target pushing the results to another, more capable, machine where the tests