"Quickly Testing Legacy Code" at cpponsea2019
April 13, 2019 ยท View on GitHub
Contents
Introduction
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.
About the talk
- Abstract: Quickly Testing Legacy Code
- Video: YouTube
- Slides: PowerPoint
- Slides: PDF
- 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
Corrections
See Corrections.