~/talk

“Modern C++ Testing with Catch2”

Talkat CppCon 2018 · 2018-09-23..09-28· [testing]
slides:none on file

Catch2 rebases Catch on C++11 only, ships as a single-header with CATCH_CONFIG_MAIN or CATCH_CONFIG_RUNNER, and gives expression‑template assertions (REQUIRE/CHECK that print decomposed values), hierarchical Sections, and matchers (REQUIRE_THAT) plus generators (GENERATE) that produce cross‑products and random samples. Clara provides a composable CLI with Opts, there is experimental micro‑benchmarking (Nonius merge planned), -fno‑exceptions support, Windows leak detection, JUnit/TeamCity/TAP reporters, and roadmap items: threading, property‑based testing (shrinking), type‑param tests, and death tests.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:55Cost of bugs in software
  3. 4:19Why Catch2 was created
  4. 6:07First Catch2 demo
  5. 11:47Catch vs Catch2 differences
  6. 13:56New features in Catch2
  7. 16:21Matchers in Catch2
  8. 21:02Command line processor
  9. 26:42Generators in Catch2
  10. 32:42Future directions for Catch2
  11. 36:46Generator test output demo
  12. 41:11Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.