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

Learning Tests for Third-Party Code

What should a test-driven developer do about tests for third-party code? We should expect that the third-party code is tested, so in general it’s not our responsibility to write tests for third-party code.[43] Even though testing the vendor’s code is not our responsibility, it does not mean that writing some tests won’t help us. Let’s talk about the role of tests in an environment where we use off-the-shelf code.

You have an intended use for the third-party code. You could start by integrating it immediately into your application. I recommend against this course because it mixes learning the third-party code with applying the learning in your code.

You must learn the code anyway, so why not learn it ...

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