Journal
Thoughts, theories, and deep dives into software engineering and cybersecurity.
Test Doubles: Mocks, Stubs, Fakes, and Spies
Test doubles—mocks, stubs, fakes, and spies—are essential for reliable automated tests. This article clarifies types, tr...
Property-Based Testing: Checking Rules Instead of Examples
Property-based testing flips the testing mindset: assert rules that must hold across many inputs rather than enumerating...
Mutation Testing: Measuring Whether Tests Catch Real Bugs
Mutation testing evaluates how well your test suite detects intentional faults injected into code, revealing gaps in tes...
Contract Testing Between Independent Components
Contract testing verifies interactions between independently developed components to prevent integration failures. It’s...
Snapshot Testing: Helpful Safety Net or Maintenance Burden
Snapshot testing captures serialized output to detect regressions quickly. It can prevent accidental UI and serializatio...
Test Data Management for Repeatable Development
Reliable test data is essential for repeatable development. This article explains practical strategies to create, manage...
Testing Time, Randomness, and External Services
Testing time-dependent behavior, randomness, and integrations with external services is essential for reliable systems....
Debugging Production Problems with Reproduction Techniques
Reproducing production issues is the most reliable path from user reports to fixes. This article explains practical repr...
Reading Stack Traces as a Professional Skill
Reading stack traces quickly and accurately is a high-leverage debugging skill. This article explains where traces appea...