~/talk

Testing Compile-time Constructs in a Runtime Unit Testing Framework

Talkat CppCon 2021 · on Wednesday, 2021-10-27· at 09:00· online· [testing]
links:none on file
slides:none on file

Claim: a library integrates with GoogleTest integration to compile snippets the test marks as forbidden, using a SHOULD_NOT_COMPILE macro that the tooling extracts into generated files, compiles with the same flags (via compilation database or -frecord-gcc-switches), and treats successful compilation as test failure. An external script generates per-macro files, feeds the compiler, matches static_assert messages, returns appropriate exit codes, and the proof‑of‑concept is pending but the approach works end‑to‑end.

AI-written summary · about

  1. 0:00Introduction
  2. 1:45Example
  3. 11:47Testing Pipeline
  4. 13:44Macros
  5. 18:07External Script
  6. 21:07Compilation Flags
  7. 24:42Conclusion
~/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.