← Sun, Nov 22 digest

A Better Vocabulary for Testing

read article ↗ hn thread ↗

Current software testing terminology is vague and vibes-based, prompting a proposal for a structured taxonomy based on scopes, hypotheses, oracles, and methods.

summary is enough The article offers a thoughtful critique of testing nomenclature and a detailed taxonomy, though its practical necessity is debated.

summary

The author argues that standard software testing terms like unit and integration tests are poorly defined and mix up multiple concepts. To remedy this, they propose a multidimensional framework categorizing tests by scope, hypothesis, oracle type, and generation method. The discussion explores whether this structured taxonomy improves real-world engineering or merely complicates standard practices. Ultimately, the piece provides a useful mental model for thinking rigorously about verification.

key points

  1. Traditional testing definitions conflate test scope, execution purpose, and input generation methods.
  2. The proposed framework separates testing into scopes, hypotheses, oracles, and methods.
  3. Oracles can be categorized from human tinker testing and examples to inline assertions and mathematical properties.

who should read it

Software engineers and QA professionals interested in testing methodology and theory.

discussion mixed

consensus

Commenters agree that testing terminology is historically fuzzy, but many debate whether a complex taxonomy offers practical advantages over simpler traditional models.

pushback

Some point out that developers write tests based on immediate utility rather than strict adherence to theoretical frameworks.

best comment by lucamark ↗

From a practical standpoint, I struggle to see the benefits of this 5-axis taxonomy buys us over the classic 2D model.

What: Functional (business logic) vs. non-functional (latency, resilience and robustness).

Level: Unit, integration, or system.

Yes the boundaries between unit and integration are not always well-defined. But strong static typing already eliminates whole classes of invalid inputs at compile time without needing runtime contracts and simplifies the unit-integration boundary.

Where I do see real value here is in test design to create more robust and resilient tests.

It provides pragmatic pushback, questioning what a multi-axis taxonomy actually buys developers over the classic two-dimensional model.

Generated by an LLM from the article and thread. Check the sources before relying on it.