Skip to Main Content
Test Driven Development for Embedded C
book

Test Driven Development for Embedded C

by James W. Grenning
April 2011
Intermediate to advanced content levelIntermediate to advanced
356 pages
8h 55m
English
Pragmatic Bookshelf
Content preview from Test Driven Development for Embedded C

Repeat Until Done

The core of the driver is in place. The turn on and turn off functionality works top to bottom. Now you continue adding tests and production code until all the meat is on the skeleton. Let’s look at the updated test list in Figure 6, LedDriver test list—evolved.

images/LedDriverTestList-Evolved.png
Figure 6. LedDriver test list—evolved

I’ve crossed off the completed tests and also added tests that were not originally anticipated, at least not to the level of detail that TDD drove us to. Test lists evolve; it’s expected, and there is nothing wrong with it. As we dig in, we learn more, and the ideas for new tests come as a consequence of our evolving understanding. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Design Patterns for Embedded Systems in C

Design Patterns for Embedded Systems in C

Bruce Powel Douglass

Publisher Resources

ISBN: 9781941222997Errata Page