The Stack Trace
Blog
Follow Astro on Mastodon Follow Astro on Twitter Go to Astro's GitHub repo
← All posts

Testing

4 posts

Sky blue red-green-refactor cycle arrows forming a continuous loop with code change nodes on a dark navy background
Testing

TDD: When It Works and When It Gets in the Way

Jul 15, 2026

An honest assessment of test-driven development - the contexts where writing tests first genuinely improves code design, and the ones where it adds friction without benefit.

Sky blue mirrored geometric node pairs with substitution arrows showing replacement relationships on a dark navy background
Testing

Test Doubles: Mock, Stub, Spy, Fake - the Real Differences

Jun 19, 2026

What each type of test double actually is, when to use each one, and how to avoid the trap of over-mocking tests into uselessness.

Sky blue geometric checkmark shapes connected by verification pathways on a dark navy background
Testing

Writing Unit Tests That Actually Catch Bugs

May 10, 2026

What separates a unit test that catches real regressions from one that only verifies your test setup - and how to write tests that stay useful as code changes.

Sky blue triangular geometric layers arranged in a pyramid formation on a dark navy background
Testing

The Testing Pyramid: Why Balance Matters More Than Coverage

May 8, 2026

What unit, integration, and end-to-end tests are actually good for, and how to find the right mix so your test suite catches real bugs without being a maintenance burden.

© 2026 The Stack Trace. All rights reserved.
Follow Astro on Mastodon Follow Astro on Twitter Go to Astro's GitHub repo