Use Cases
Tutorial: Write & run tests
Plan Unity tests: EditMode/PlayMode, cases, an AAA scaffold, and the run→fix loop.
- 1Name what to test ('damage calculation').
- 2Get the mode, the cases (happy/edge/boundary/error), a scaffold, fakes, and a batch-mode CI command.
API — deterministic output.
curl -X POST $CURFLUFFLE_API_URL/tools/test.plan \
-H "Authorization: Bearer $CURFLUFFLE_API_KEY" -H "Content-Type: application/json" \
-d '{"subject":"damage calculation"}'
# → { ok:true, data:{ result:{ mode, cases, scaffold, fixtures, runAndFix, ci }, markdown } }