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.
| Edition | Where it is | Repository |
|---|---|---|
| Java | built, and kept to the contract by its tests | proptastic/proptastic |
| Rust | being built to the contract, not yet released | — |
| Swift | planned: nothing to install yet | — |
What every edition shares
Section titled “What every edition shares”- 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.