Module Test Create
module_test_createGenerates PHPUnit/Kernel test skeletons for Drupal modules, creating the test class file with specified methods so developers can start writing unit tests immediately.
Instructions
Create a PHPUnit/Kernel test skeleton.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| test_name | Yes | ||
| test_type | No | KernelTest | |
| class_name | No | ||
| machine_name | Yes | ||
| test_methods | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||