MacroExpressions
Historical paper   /   Ark Khasin

C/C++ code unit testing on a shoestring

A method for instrumenting embedded C/C++ code with the production compiler’s preprocessor, and a proposal for Recursive MC/DC.

Maestra project →   Read the PDF ↗

Inside the paper

The paper separates the test harness, stubs and instrumentation. It describes how to collect a trace on the target and use it to reason about conditions and decisions on the host. The updated 2008 paper is reproduced in full in the PDF.