

James Grenning trains, coaches, and consults worldwide. His considerable experience brings depth in both technical and business aspects of software development.
Meer over James GrenningTest-Driven Development for Embedded C
Samenvatting
Still chasing bugs and waiting your code deteriorate? Think TDD is only for desktop or web apps? It's not: TDD is for you, the embedded C programmer. This is the first book to teach the hows and whys of TDD for C programmers.
TDD is a modern programming practice 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, assuring your code does what you think. 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.
This book is full of code written for embedded C programmers. You don't just see the end product, you see 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++ (some project conversion may be needed).
James is one of the few experts in applying TDD to embedded C. With his 1.5 decades 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.
Specificaties
Inhoudsopgave
Foreword by Robert C. Martin
Acknowledgments
Preface
1. Test-Driven Development
Part 1: Getting started
2. Test-Driving tools and conventions
3. Starting a C Module
4. Testing your way to done
5. Embedded TDD strategy
6. Yeah, but
Part 2: Testing modules with collaborators
7. Introducing test doubles
8. Spying on the production code
9. Runtime-Bound test doubles
10. The Mock Object
Part 3: Design and continuous improvement
11. SOLID, flexible, and testable designs
12. Refactoring
13. Adding tests to Legacy Code
14. Test patterns and antipatterns
15. Closing thoughts
Part 4: Appendixes
A: Development System Test Environment
B: Unity Quick Reference
C: CppUTest Quick Reference
D: LedDriver After Getting started
E: Example OS Isolation layer
F: Bibliography
Index
Anderen die dit boek kochten, kochten ook
Net verschenen
Rubrieken
- aanbestedingsrecht
- aansprakelijkheids- en verzekeringsrecht
- accountancy
- algemeen juridisch
- arbeidsrecht
- bank- en effectenrecht
- bestuursrecht
- bouwrecht
- burgerlijk recht en procesrecht
- europees-internationaal recht
- fiscaal recht
- gezondheidsrecht
- insolventierecht
- intellectuele eigendom en ict-recht
- management
- mens en maatschappij
- milieu- en omgevingsrecht
- notarieel recht
- ondernemingsrecht
- pensioenrecht
- personen- en familierecht
- sociale zekerheidsrecht
- staatsrecht
- strafrecht en criminologie
- vastgoed- en huurrecht
- vreemdelingenrecht