playcal_tests
Record test results and analyze history to spot flaky tests, fail CI only on real failures, and run only test assemblies affected by a change.
Instructions
test result history: spot flaky tests, fail CI only on real failures, run only affected test assemblies
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": {
"action": "<action>"
},
"name": "playcal_tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | where the history lives (default .playcal/tests) | .playcal/tests |
| base | No | affected: git ref to diff against (default HEAD: uncommitted work) | HEAD |
| files | No | NUnit3 (Unity -testResults) or JUnit XML files; for affected, changed paths | |
| action | Yes | record FILE...: add results to the history. check FILE...: fail only on non-flaky failures, then record. flaky: list tests that passed and failed on one commit. affected [PATH...]: test assemblies a change can break (default: git diff --base) | |
| commit | No | commit the run belongs to (default: git rev-parse HEAD) | |
| project | No | affected: Unity project folder (default .) | . |
| no_record | No | check without adding this run to the history |