News•Apr 15, 2026
Practicalities of Co-Locating Tests with Source Code
The article outlines a shift from traditional mirrored test directories to co‑locating unit tests alongside their source files in embedded projects. It highlights the friction of navigating separate test trees and the risk of test drift as codebases evolve. The author demonstrates a practical Meson build configuration that aggregates test sources via a shared list while keeping test infrastructure in a dedicated folder. This approach balances convenience with a clean separation of build concerns.
By Embedded Artistry (Blog)