generate_property_test
Generate property-based tests (fast-check, Hypothesis, QuickCheck, jqwik) from real invariants: idempotent, preserves-length, sorted, permutation, commutative, associative, round-trip, deterministic, never-throws, non-negative; generators typed by inputType
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"functionName": "<functionName>",
"library": "<library>"
},
"name": "generate_property_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| library | Yes | ||
| runtime | No | ||
| inputType | No | Type of the function's input (default array<integer>) | |
| modulePath | No | Import path of the function (default ../src/<functionName>) | |
| properties | No | Invariants: idempotent, preserves-length, sorted, permutation, commutative, associative, round-trip, deterministic, never-throws, non-negative | |
| functionName | Yes | ||
| inverseFunction | No | For round-trip: the inverse, e.g. decode for encode |