DeepRead
Cover of Test-driven development for embedded C

Test-driven development for embedded C

James W. Grenning · 2011

Programming and computer science › Testing and legacy code

#4,221 most recommended

About the book

A practical guide to applying test-driven development to C code for microcontrollers and other embedded systems. It covers setting up unit tests with a C/C++ test harness, building and running them on a development host rather than the target board, and working through worked examples of the process. Test-driven development is workable in embedded C despite hardware dependencies, resource limits, and legacy code. Writing a failing test before each small piece of production code keeps the design testable and the code correct as it grows. Isolating hardware behind interfaces and substituting test doubles lets most logic be verified quickly off-target. The book presents these practices as a disciplined, incremental way to build embedded software.

Written by Claude from what it knows of this book.

What Hacker News says 67% recommend · 0% critical

02420112015202020232011 peak · 3
This bookAverage book in Testing and legacy code

In the commenters’ own words

What Open Library readers say 4.00 from 1 rating

  1. 50
  2. 41
  3. 30
  4. 20
  5. 10
  • 3 want to read
  • 0 reading
  • 1 have read

Only 1 rating: treat the average as a hint.

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

Details

First published
2011
ISBN
9781934356623
Editions known
2 at Open Library
Open Library
OL16283894W

(langage de programmation)Application softwareApplication software, developmentC (Computer language)C (Computer program language)C (computer program language)DevelopmentDéveloppementLogiciels

Explore in the mosaic

Read next: its neighbours on the mosaic