write_test
Create or replace one test file in a story's package to store end-to-end test cases for later replay and approval.
Instructions
Create or replace one test file in this story's package.
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": {
"file_name": "<file_name>",
"content": "<content>"
},
"name": "write_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| file_name | Yes | For example CheckoutTest.java |