What is property-based-testing?
Use when writing tests for serialization, validation, normalization, or pure functions - provides property catalog, pattern detection, and library reference for property-based testing Source: ed3dai/ed3d-plugins.
Use when writing tests for serialization, validation, normalization, or pure functions - provides property catalog, pattern detection, and library reference for property-based testing
Quickly install property-based-testing AI skill to your development environment via command line
Source: ed3dai/ed3d-plugins.
Property-based testing (PBT) generates random inputs and verifies that properties hold for all of them. Instead of testing specific examples, you test invariants.
| Roundtrip | decode(encode(x)) == x | Serialization, conversion pairs | | Idempotence | f(f(x)) == f(x) | Normalization, formatting, sorting | | Invariant | Property holds before/after | Any transformation | | Commutativity | f(a, b) == f(b, a) | Binary/set operations | | Associativity | f(f(a,b), c) == f(a, f(b,c)) | Combining operations |
| Identity | f(x, identity) == x | Operations with neutral element | | Inverse | f(g(x)) == x | encrypt/decrypt, compress/decompress | | Oracle | newimpl(x) == reference(x) | Optimization, refactoring | | Easy to Verify | issorted(sort(x)) | Complex algorithms | | No Exception | No crash on valid input | Baseline (weakest) |
Stable fields and commands for AI/search citations.
npx skills add https://github.com/ed3dai/ed3d-plugins --skill property-based-testingUse when writing tests for serialization, validation, normalization, or pure functions - provides property catalog, pattern detection, and library reference for property-based testing Source: ed3dai/ed3d-plugins.
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/ed3dai/ed3d-plugins --skill property-based-testing Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw
https://github.com/ed3dai/ed3d-plugins