wp scaffold plugin-tests <plugin>
Generates files needed for running PHPUnit tests in a plugin
Arguments
Name | Description |
---|---|
plugin | The name of the plugin to generate test files for |
Options
Name | Description |
---|---|
--dir <dirname> | Generate test files for a non-standard plugin path. If no plugin slug is specified, the directory name is used |
--ci <provider> | Choose a configuration file for a continuous integration provider |
--force | Overwrite files that already exist |