Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides writing generated property tests that check design laws across broad input, state, or sequence domains.
70% 87%+17 ptsof test cases passed
Passed 20 of 23 test cases with the skill, and 16 of 23 without it.
This test ran on v1. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
A property states "for all valid inputs this observation holds". It searches for counterexamples; it is not proof and not a substitute for a real-boundary test. Use the project's native generator with shrinking and replay.
decode(encode(x)) == x), oracle (compare with a simple reference), metamorphic (a known input change gives a known output change), idempotence (f(f(x)) == f(x)), commutativity (order of operands or operations does not matter). When none is obvious, start from a known example, embed its answer in a generated input, and predict where it appears in the output.@given(st.lists(st.integers(1, 10**6), min_size=1), st.data())
def test_transfers_keep_total_balance(amounts, data): # law id in docstring
acct = Ledger.open(sum(amounts))
for a in amounts: acct.transfer(a % acct.max_move() or 1)
assert acct.total() == sum(amounts)
Next to this one in the catalogue, plus more from the same author.