wp scaffold plugin-tests <plugin>

Generates files needed for running PHPUnit tests in a plugin

Arguments

NameDescription
pluginThe name of the plugin to generate test files for

Options

NameDescription
--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
--forceOverwrite files that already exist