wp scaffold theme-tests <theme>
Generates files needed for running PHPUnit tests in a theme
Arguments
Name | Description |
---|---|
theme | The name of the theme to generate test files for |
Options
Name | Description |
---|---|
--dir <dirname> | Generate test files for a non-standard theme path. If no theme 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 |