{"id":18088145,"url":"https://github.com/claremacrae/cpponsea2019","last_synced_at":"2025-10-24T07:32:02.623Z","repository":{"id":71655159,"uuid":"165387072","full_name":"claremacrae/cpponsea2019","owner":"claremacrae","description":"Code samples for my talk at C++ on Sea 2019","archived":false,"fork":false,"pushed_at":"2019-11-24T18:37:07.000Z","size":217,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-12T07:55:23.266Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/claremacrae.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-12T12:48:21.000Z","updated_at":"2019-11-24T18:37:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"f61c8a4a-7228-4689-b341-ecaf323db3e9","html_url":"https://github.com/claremacrae/cpponsea2019","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claremacrae%2Fcpponsea2019","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claremacrae%2Fcpponsea2019/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claremacrae%2Fcpponsea2019/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claremacrae%2Fcpponsea2019/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/claremacrae","download_url":"https://codeload.github.com/claremacrae/cpponsea2019/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247423500,"owners_count":20936622,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-31T17:11:57.341Z","updated_at":"2025-10-24T07:32:02.551Z","avatar_url":"https://github.com/claremacrae.png","language":"C++","readme":"# \"Quickly Testing Legacy Code\" at cpponsea2019\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n**Contents**\n\n- [Introduction](#introduction)\n- [About the talk](#about-the-talk)\n- [ApprovalTests.cpp code samples](#approvaltestscpp-code-samples)\n- [Corrections](#corrections)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n## Introduction\n\nCode samples and information for my talk \"Quickly Testing Legacy Code\" at [C++ on Sea 2019](https://cpponsea.uk/).\n\nThe samples here demonstrate use of [ApprovalTests.cpp](https://github.com/approvals/ApprovalTests.cpp), which is a new C++ implementation of Llewellyn Falco's [Approval Tests](http://approvaltests.com/) approach to testing legacy code.\n\n## About the talk\n\n* Abstract: [Quickly Testing Legacy Code](https://cpponsea.uk/sessions/quickly-testing-legacy-code.html)\n* Video: [YouTube](https://youtu.be/dtm8V3TIB6k)\n* Slides: [PowerPoint](https://www.slideshare.net/ClareMacrae/quickly-testing-legacy-code)\n* Slides: [PDF](https://github.com/philsquared/cpponsea-slides/raw/master/2019/Clare%20Macrae%20-%20Quickly%20Testing%20Legacy%20Code.pdf)\n* Code: [Github](https://github.com/claremacrae/cpponsea2019) (here)\n\n## ApprovalTests.cpp code samples\n\nPurpose of the sub-directories in this repo:\n\n* [demo_approvals_and_catch2/](demo_approvals_and_catch2)\n    * Some example uses of [ApprovalTests.cpp](https://github.com/approvals/ApprovalTests.cpp) with the [Catch2 test framework](https://github.com/catchorg/Catch2), with detailed explanatory comments in the code.\n* [demo_approvals_and_googletest/](demo_approvals_and_googletest)\n    * Some example uses of [ApprovalTests.cpp](https://github.com/approvals/ApprovalTests.cpp) with the [Google Test framework](https://github.com/google/googletest), with detailed explanatory comments in the code.\n* [gilded_rose_refactoring_kata/](gilded_rose_refactoring_kata)\n    * A worked example of the [cpp version of Emily Bache's GildedRose Refactoring Kata](https://github.com/emilybache/GildedRose-Refactoring-Kata/tree/master/cpp)\n\n## Corrections\n\nSee [Corrections](Corrections.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclaremacrae%2Fcpponsea2019","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclaremacrae%2Fcpponsea2019","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclaremacrae%2Fcpponsea2019/lists"}