generateUnitTest
Generates or appends a PL/SQL unit test block for a testable method, following IFS Developer Studio pltst conventions with @MockTable/@MockPackage placeholders.
Instructions
Generate or append a pltst unit test block for a testable method. Follows IFS Developer Studio pltst conventions with @MockTable/@MockPackage placeholders.
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": {
"sourceFile": "<sourceFile>",
"methodName": "<methodName>"
},
"name": "generateUnitTest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jiraKey | No | ||
| confirmed | No | ||
| workspace | No | IFS workspace root, e.g. C:/ifsapps-new/workspace | |
| methodName | Yes | ||
| sourceFile | Yes |