Tag
The article continues the series on modernizing a 25-year-old minimal C++ unit testing framework, focusing on using inline variables and modules to fix issues with file-specific counters and header dependencies.
A developer argues that end-to-end testing is more important than unit tests in the age of AI coding agents, after an agent-coded refactor passed all unit tests but broke a critical feature that was only caught by manual end-to-end checks.
A tutorial covering various strategies for mocking network calls in Rust, using the example of a Kubernetes controller that emits events, with emphasis on not degrading production code for testability.
Catch2 is a C++ unit testing framework that also provides micro-benchmarking and BDD macros, known for its natural syntax.