Test-Driven Development is an important design and problem solving technique that helps software developers improve product quality and the quality of their life. How? By preventing defects and by giving you warning when your design starts to deteriorate.
This tutorial describes the problems addressed by TDD, as well as the additional challenges and benefits of applying TDD to C, C++ and embedded software.
You will experience the cadence of Test-Driven Development. You will see how it makes sure you know what your code is doing. We'll explore the benefits of test-driving your code. You will see how to test-drive code with dependencies using open source tools CppUTest and CppUMock.
If you've heard of TDD and not tried it, this tutorial is a great place to discover what it is and how it can help you . Exercises are done on a custom version of cyber-dojo.org hosted in the cloud.