Test-Driven Development for Embedded C (PragProg)

TDD is a modern programming practice that all C developers need to know. It’s a different way to program—unit tests are written in a tight feedback loop with the production code. You get valuable feedback every few minutes. You find mistakes before they become bugs. You get early warning of design problems. You get immediate notification of side-effect defects. You get to spend more time adding valuable features to your product.

James W. Grenning

edited by Jacquelyn Carter @jkcarter

TDD is a modern programming practice that all C developers need to know. It’s a different way to program—unit tests are written in a tight feedback loop with the production code. You get valuable feedback every few minutes. You find mistakes before they become bugs. You get early warning of design problems. You get immediate notification of side-effect defects. You get to spend more time adding valuable features to your product.

James is one of the few experts in applying TDD to embedded C. With his years of training, coaching, and practicing TDD in C, C++, Java, and C# he will lead you from being a novice in TDD to using the techniques that few have mastered.

This book is full of code written for embedded C programmers. You don’t just see the end product, you see how code and tests evolve. James leads you through the thought process and decisions made each step of the way. You’ll learn techniques for test-driving code right next to the hardware, and you’ll learn design principles and how to apply them to C to keep your code clean and flexible.

To run the examples in this book, you will need a C/C++ development environment on your machine, and the GNU GCC tool chain or Microsoft Visual Studio for C++.


“This book is targeting the embedded-programmer-on-the-street and hits its target. It is neither spoon-fed baby talk nor useless theory-spin. In clear and simple prose, James shows working geeks each of the TDD concepts and their C implementations. Any C programmer can benefit from working through this book.”

– Michael “GeePaw” Hill, Senior TDD coach, Anarchy Creek Software


  • Full details: Search
  • View this book’s portal and details on how to post errata and suggestions here.

Don’t forget you can get 35% off with your Devtalk discount! Just use the coupon code “devtalk.com" at checkout :+1:

2 Likes

Author James Grenning gives 3-day courses on Test Driven Development. The next one is Aug 18 - 20 and has a few spots left.

Signup link: Test-Driven Development for Embedded C/C++

Description

This training course helps you build knowledge, understanding and skill in the engineering practices needed to build great C or C++ code. You learn how to build flexible and modular software with very few defects, software that can have a long useful life. We teach you how to prevent defects and how to keep code clean over years of evolving needs.

1 Like