Teardown

In this appendix, you saw another example of how you can use TDD to drive the incremental growth of an algorithm. Of course, things don’t always go this smoothly. Every time you tackle a new problem, chances are you’ll have false starts and will need to undo a bit of code and try again. Practicing short examples like the Roman numeral converter as a kata should help you become more comfortable with taking short, incremental steps toward a solution. For further details on katas, refer to Katas and Dojos.

Get Modern C++ Programming with Test-Driven Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.