Test Scaffold Phpunit
test_scaffold_phpunitCreate PHPUnit test classes for Drupal modules with configurable test type, class name, and methods to reduce manual test setup.
Instructions
Scaffold a PHPUnit test class.
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": {
"module": "<module>"
},
"name": "test_scaffold_phpunit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | Yes | ||
| test_type | No | unit | |
| class_name | No | ||
| test_methods | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||