Content pillar
Compile-time testing
The signature technique: pushing tests into compilation so whole classes of embedded C++ defect fail the build instead of the board. The highest-leverage feedback an agent can get.
- Constexpr Testing Finds Compiler and Standard Library Bugs Without a Board
Constexpr tests run inside the compiler, so cross-compiling them finds toolchain bugs with no hardware. Three real cases from a CBOR decoder: an arm-gcc std::string constant-evaluation failure, a -Wuseless-cast conflict across word sizes, and std::isnan not being constexpr.
- Compile-Time Testing in C++: Prove It, Don't Just Test It
Compile-time testing with consteval and static_assert, proven against a real CBOR (RFC 8949) codec and a 20-plus-compiler CI matrix that caught real constexpr-evaluator bugs in shipping toolchains before they shipped.