Contents
Code samples and information for my talk "Quickly Testing Legacy Code" at CPPP 2019.
The samples here demonstrate use of ApprovalTests.cpp, which is a new C++ implementation of Llewellyn Falco's Approval Tests approach to testing legacy code.
- Abstract: Quickly Testing Legacy Code
- Video:
- Slides: PowerPoint
- Slides: PDF (including some more detailed slides that were hidden both in the talk and in the Powerpoint version above)
- Code: Github (here)
Purpose of the sub-directories in this repo:
- demo_approvals_and_catch2/
- Some example uses of ApprovalTests.cpp with the Catch2 test framework, with detailed explanatory comments in the code.
- demo_approvals_and_googletest/
- Some example uses of ApprovalTests.cpp with the Google Test framework, with detailed explanatory comments in the code.
- gilded_rose_refactoring_kata/
- A worked example of the cpp version of Emily Bache's GildedRose Refactoring Kata