wp scaffold theme-tests <theme>

Generates files needed for running PHPUnit tests in a theme

Arguments

NameDescription
themeThe name of the theme to generate test files for

Options

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