Test-Driven Development for Embedded C
eBook - ePub

Test-Driven Development for Embedded C

  1. 354 pages
  2. English
  3. ePUB (mobile friendly)
  4. Only available on web
eBook - ePub

Test-Driven Development for Embedded C

Book details
Table of contents
Citations

About This Book

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++. ==

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access Test-Driven Development for Embedded C by James W. Grenning in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in C. We have over one million books available in our catalogue for you to explore.

Information

Year
2011
ISBN
9781680504880

Table of contents

  1. Test-Driven Development for Embedded C
  2. For the Best Reading Experience...
  3. ​
  4. Table of Contents
  5. What People Are Saying About Test-Driven Development for Embedded C
  6. Foreword by Jack Ganssle
  7. Foreword by Robert C. Martin
  8. Acknowledgments
  9. Preface
  10. Chapter 1: Test-Driven Development
  11. Part 1: Getting Started
  12. Chapter 2: Test-Driving Tools and Conventions
  13. Chapter 3: Starting a C Module
  14. Chapter 4: Testing Your Way to Done
  15. Chapter 5: Embedded TDD Strategy
  16. Chapter 6: Yeah, but...
  17. Part 2: Testing Modules with Collaborators
  18. Chapter 7: Introducing Test Doubles
  19. Chapter 8: Spying on the Production Code
  20. Chapter 9: Runtime-Bound Test Doubles
  21. Chapter 10: The Mock Object
  22. Part 3: Design and Continuous Improvement
  23. Chapter 11: SOLID, Flexible, and Testable Designs
  24. Chapter 12: Refactoring
  25. Chapter 13: Adding Tests to Legacy Code
  26. Chapter 14: Test Patterns and Antipatterns
  27. Chapter 15: Closing Thoughts
  28. Part 4: Appendixes
  29. Appendix 1: Development System Test Environment
  30. Appendix 2: Unity Quick Reference
  31. Appendix 3: CppUTest Quick Reference
  32. Appendix 4: LedDriver After Getting Started
  33. Appendix 5: Example OS Isolation Layer
  34. Appendix 6: Bibliography