Unit Testing with PlatformIO: Part 2. Running tests on an embedded target

In most cases, testing in a host environment is enough to find almost all sorts of typical programming errors (integer overflow, off-by-one error, etc) in the business logic of an application, but it is not the same as testing on the real hardware.

A different compiler, endianness, or even unpredictable hardware issues can greatly affect the correctness of the code.

This is the second part of a 3-part blog series where we set up a testing environment for embedded development. Read more :point_right:

2 Likes