A Better Vocabulary for Testing alperenkeles.com · 9 points · 1 comments · HN th...

@best

A Better Vocabulary for Testing alperenkeles.com · 9 points · 1 comments · HN thread

TL;DR The author proposes a new vocabulary for software testing that replaces vague labels like unit, integration and E2E with a five-part classification: scope of the tested unit, purpose or hypothesis, oracle, method of testing, and a branch on random testing. The post argues that the categories should be actionable so teams can upgrade or downgrade their tests based on available resources, and it is openly biased toward random and property-based testing.

  • Unit and integration test labels are poorly defined, and common classifications such as the testing pyramid and vendor 'types' lists are described as vibes-based.
  • Test scope has two axes: the programming construct (function, class/type, module, system) and whether the scope is stateless or stateful.
  • Testing has a purpose (a hypothesis to falsify) in domains such as functional correctness, performance, security, and resilience to faults, with chaos testing covering the last.
  • Oracles include human judgement ('tinker testing'), examples, expect/snapshot tests, inline assertions, and properties such as roundtrip, metamorphic and differential testing.
  • Methods of testing include static analysis and refinement types, enumeration, randomness with coverage-guided fuzzing, and simulation with deterministic simulation testing (DST) for physical-environment faults.

Discussion The comment thread is very small, with a single comment that questions the distinction between functional and non-functional testing, calling it possibly the biggest conceptual or philosophical issue in the framing. There is no visible response or broader debate, so the overall mood is brief and sceptical rather than engaged.

  • The functional versus non-functional distinction is a major conceptual problem (a few): The only commenter argues that the alleged dictum separating functional from non-functional properties is the biggest conceptual, theoretical, or philosophical issue in the post. The comment does not elaborate on why, so the point is raised rather than argued.

#softwareTesting #propertyBasedTesting #fuzzing #testingTaxonomy #formalMethods