Modern C++ testing with Catch2
summary
Catch2 rebases Catch on C++11 and ships as a single header file plus an optional CATCH_CONFIG_MAIN so a demo project compiles links and runs a failing test then a passing one. It adds composable matches, scoped Sections/BDD-style given/when/then, modular reporters and a new CLI (clara) and shows work on performance, micro-benchmarks, generators and threading; release lands (Catch2) and the talk cites global bug costs up to $312 billion.
AI-written summary · about
chapters (15)
- 0:00Start
- 4:59Why Should We Write Tests
- 5:57Why Should We Write Tests First Tdd
- 7:36Cost to Leaving Bugs in Your Code
- 16:25Output
- 24:59Reporters
- 25:34Run-Time Performance
- 29:49Commas and Assertions
- 30:21Performance
- 32:09Micro Benchmarks
- 32:44Micro Benchmarks
- 33:47Generators
- 34:46Type Parameters Tests
- 35:04Def Tests
- 40:01Do You Have any Plans To Create a Mocking Framework As Well Not Just a Techno Testing Framework
related talks
55m“Modern C++ Testing with Catch2”
49mCatching up with Catch2: Changes recent and future
58mTest Driven C++ with Catch
01h 07mTestdriven C++ with Catch
01h 03mBack to Basics: Testing in C++
01h 02mTest Driven C++
59mC++ Unit testing - the good, the bad & the ugly
53mC++ Unit testing - the good, the bad & the ugly
