Skip to content

Editions

proptastic is one library with an edition for each language, rather than a port of one to the others: the same words, the same failures, the same files, each checked against a shared contract. A property you write in one reads the same in another, and the proptastic command runs them all.

EditionWhere it isRepository
Javabuilt, and kept to the contract by its testsproptastic/proptastic
Rustbeing built to the contract, not yet released—
Swiftplanned: nothing to install yet—
  • The vocabulary: forAll, check, example, every domain and bound, in each language’s casing. Vocabulary has every word.
  • What a failure prints: the header, the facts in the same order, the same layout rules (Failure output).
  • The files a run leaves, and their schemas (Files a run leaves, Schemas).
  • Counterexample ids, made by the same rule in every edition, so the same counterexample has the same id on every machine (Counterexamples and ids).
  • The proptastic command, which runs any edition’s properties with that edition’s own build.

Where a language makes something impossible or wrong, an edition differs, and the contract says how and why: Where the editions differ.

These pages are the Java edition’s.

Privacy