~/talk

Future of Testing With C++20

Talkat ACCU 2021 Online · 2021-03-10..03-13· [testing]
links:none on file
slides:none on file

Claims a macro-free testing framework implemented in about 200 lines of C++20 that compiles and runs the example "\"hello world\"_test = [] { expect(12_i == fib(7)); }", then evolves into ut (about 2,000 LOC) as a single-header/module library using concepts, UDLs, immediate-invoke lambdas and source_location. Builds pass, colored failure messages include file and line, supports BDD, parameterized tests and a parallel runner in a few lines. Benchmarks show faster compile times and smaller binaries versus some older frameworks in the presented cases.

AI-written summary · about

  1. 0:00Intro
  2. 0:30Agenda
  3. 5:57Motivation
  4. 7:04Negatives
  5. 9:51Frameworks
  6. 13:12Bolt Claim
  7. 14:55Testing Framework
  8. 18:30Implementation
  9. 21:35Modules
  10. 24:48Concepts
  11. 28:31Bend the test
  12. 30:46Test case name
  13. 33:13Issues
  14. 34:45Equality Operator
  15. 37:45Deduction Guide
  16. 38:51Error and Value
  17. 42:31UDL
  18. 43:50Lambda
  19. 46:21Unfold
  20. 48:36Source Location
  21. 50:09Print Errors
  22. 51:38Compile
  23. 52:17Value Location
  24. 54:12Testcpp
  25. 55:00Summary
  26. 56:02Expect
  27. 58:28Test Suite
~/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.