"Quickly Testing Legacy Code" at CPPP 2019
June 23, 2019 ยท View on GitHub
Contents
Introduction
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.
About the talk
- 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)
ApprovalTests.cpp code samples
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