Oriel — AI & technology worth noticing, every day.

A Better Vocabulary for Testing

Web page · https://alperenkeles.com/posts/vocab-for-testing

First seen by Oriel on .

AI summary

The article proposes a more actionable testing vocabulary organized around test scope, testing hypotheses, and oracle types rather than vague unit, integration, and end-to-end labels.

  • Test scope has two axes: programming-language construct versus system, and stateful versus stateless; complex state may require multi-message simulation instead of input transformation.
  • Design by Contract can constrain overly broad function input spaces through runtime or compile-time assumptions, preconditions, postconditions, and invariants.
  • Testing hypotheses span functional correctness, execution time, security, accessibility, and resilience, each requiring a domain-specific oracle that can falsify the hypothesis.
  • The proposed oracle taxonomy includes human judgement through “Tinker Testing,” concrete examples and snapshots, inline assertions, and universal or metamorphic properties.
  • Property-based techniques cover invariants, roundtrips, compatibility, differential testing, and idempotency, with examples finding bugs in browsers, GCC, SQLite, S3 object storage, and Cedar.

#software testing #property-based testing #design by contract #differential testing

Generated by gpt-5.6-sol. Check the original for details.

Metric trends

Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained

Points

Score reported by the source.

  • Hacker News: 141, latest observation ; +133 over observed period since

Comments

Comment count reported by the source.

  • Hacker News: 32, latest observation ; +31 over observed period since

Aliases

SourceExternal IDURL
Hacker News50594182https://alperenkeles.com/posts/vocab-for-testing/ Read discussion