Unit testing isn’t a new concept in the software engineering field, it has been around for at least the past three decades. At the same time, it is still not so widespread in the embedded industry, even though the situation is getting better in recent years. Read more
thanks for your easy to follow introduction.
I was impressed to see how PlatformIO supports unit testing out of the box.
For the sake of completeness you should mention that, when using setUp() and tearDown(), the circular buffer has to be defined globally and no longer in each test function.