Contents
Code samples and information for my talk "Quickly Testing Legacy Code" at C++ on Sea 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: YouTube
- Slides: PowerPoint
- Slides: PDF
- 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
See Corrections.