The Vocabulary of Software Testing Is Broken—Here’s a Better One

A Better Vocabulary for Testing

The Vocabulary of Software Testing Is Broken—Here’s a Better One

Alperen Keles argues that terms like "unit test" and "integration test" are too vague to be useful. He proposes five orthogonal categories—scope, purpose, oracle, method, and resource—to describe any test precisely. This framework lets teams upgrade or downgrade tests based on available resources and provides a recipe for choosing the right test given a situation. The article is biased toward random testing but offers a practical, actionable vocabulary for testers.

Contemporary vocabulary for talking about software testing has bothered me for a long time. The concept of a unit in unit test is not really defined, integration tests are integrating arbitrarily scoped modules, the concept of an E2E test makes sense, but it very much underspecifies the actually tested behavior as well as methods for testing it.
  1. ozim

    I would like "non-functional testing" to be called "cross-functional testing".

  2. Blowoffvalve

    I loved this article. I find that the most important part of engineering projects is defining a shared vocabulary for discussing and aligning with other parties.

    The vocabulary proposed that clear delineates across the various concerns you're testing against is particularly helpful.

  3. jph

    There's low-hanging fruit IMHO by testing using semantic naming vocabulary with semantic error vocabulary.

    Example macro: assert_approx_eq_with_relative_error!(a, b, err). It's a semantic name that explains more about what it does, and the macro also provides a test failure message that guides the developer, or an AI, toward fixes and documentation.

    I wrote the Rust crate Assertables to help with this. See https://crates.io/crates/assertables.

    What I learned is writing semantic testing can help many more kinds of higher-value testing. As a specific example described by the article, I use enumeration testing for proving the UK National Health Service Number validator in Rust is accurate i.e. the test literally checks every number, then I can write tests such as assert_valid_nhs_number("111 111 1111").

  4. jruohonen

    I think the alleged dictum between functional and non-functional is the biggest conceptual, theoretical, or even philosophical issue.

  5. 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.

More from this day

2026-11-22