unit-testing

Tag

Cards List
#unit-testing

Modernizing a 25-year-old minimal C++ unit testing framework (Part 2)

Hacker News Top · 2026-07-02 Cached

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.

0 favorites 0 likes
#unit-testing

@copyconstruct: end-to-end testing > unit tests, in the vibecoding era. A massive, almost entirely agent-coded refactor passed all unit…

X AI KOLs Following · 2026-05-13 Cached

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.

0 favorites 0 likes
#unit-testing

All the ways to mock your Rust code

Lobsters Hottest · 2026-05-12 Cached

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.

0 favorites 0 likes
#unit-testing

catchorg/Catch2

GitHub Trending (daily) · 2026-07-10 Cached

Catch2 is a C++ unit testing framework that also provides micro-benchmarking and BDD macros, known for its natural syntax.

0 favorites 0 likes
← Back to home

Submit Feedback