Test-Driven Development
Abstract
In this chapter, we will look at how to develop software tests designed to run on a small microcontroller. We will also look at a design technique called Test-Driven Development (TDD). TDD makes generating software test cases part of the development cycle. More specifically, it forces you to write the test cases before writing the application code. This is an alien process for most embedded developers, but once you gain familiarity with TDD has the potential to increase both productivity and code reliability. The practical exercises use an open-source test framework called “Unity” which is now provided as a software pack. We will also see how the unity framework can best be integrated into the Microvision ...
Get The Designer's Guide to the Cortex-M Processor Family, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.