O'Reilly logo

The Designer's Guide to the Cortex-M Processor Family, 2nd Edition by Trevor Martin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11

Test Driven Development

Abstract

This chapter examines a development 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 it has the potential to increase both productivity and code reliability. The practical exercises look at using the “Unity” developer test framework and how to most effectively setup the IDE for automated build and test. The chapter also considers some of the special cases for testing on a small embedded system.

Keywords

Test Driven Development; Unity; CppUtest; Instrumentation ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required