April 2011
Intermediate to advanced
356 pages
8h 55m
English
| Foreword by Jack Ganssle |
| Foreword by Robert C. Martin |
| Acknowledgments |
| Preface |
| Who Is This Book For? |
| How to Read This Book |
| The Code in This Book |
| Online Resources |
| 1. | Test-Driven Development |
| Why Do We Need TDD? |
| What Is Test-Driven Development? |
| Physics of TDD |
| The TDD Microcycle |
| TDD Benefits |
| Benefits for Embedded |
| 2. | Test-Driving Tools and Conventions |
| What Is a Unit Test Harness? |
| Unity: A C-Only Test Harness |
| CppUTest: A C++ Unit Test Harness |
| Unit Tests Can Crash |
| The Four-Phase Test Pattern |
| Where Are We? |
| 3. | Starting a C Module |
| Elements of a Testable C Module |
| What Does an LED Driver Do? |
| Write a Test List |
| Writing the First Test |
| Test-Drive the Interface Before the Internals |
| Incremental Progress |
| Test-Driven ... |
Read now
Unlock full access