PHP Class Codeception\Command\WPBootstrap

Inheritance: extends Codeception\Command\Bootstrap
Datei anzeigen Open project: lucatume/wp-browser Class Usage Examples

Public Properties

Property Type Description
$userConfig array

Protected Properties

Property Type Description
$butler tad\WPBrowser\Interactions\WPBootsrapButler
$theme Either a theme slug or an array in the [,] format.

Public Methods

Method Description
__construct ( $name, tad\WPBrowser\Interactions\ButlerInterface $butler = null )
createGlobalConfig ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
getDescription ( )
getScaffoldedSuitesNames ( ) : array Returns an array containing the names of the suites the command will scaffold.

Protected Methods

Method Description
configure ( )
createAcceptanceSuite ( $actor = 'Acceptance' )
createFunctionalSuite ( $actor = 'Functional' )
createIntegrationSuite ( $actor = 'Integration' )
decorateOutput ( Symfony\Component\Console\Output\OutputInterface $output ) : Symfony\Component\Console\Output\OutputInterface | WrappingOutput
getAcceptanceSuiteConfig ( $actor ) : array
getFunctionalSuiteConfig ( $actor ) : array
getIntegrationSuiteConfig ( $actor ) : array
getWordpressConfigDefaults ( ) : array
getWpbrowserDefaults ( ) : array
getWpdbConfigDefaults ( ) : array
getWploaderDefaults ( )
setupSuites ( Symfony\Component\Console\Output\OutputInterface $output )

Private Methods

Method Description
scaffoldBaseTestsAdvice ( Symfony\Component\Console\Output\OutputInterface $output )

Method Details

__construct() public method

public __construct ( $name, tad\WPBrowser\Interactions\ButlerInterface $butler = null )
$butler tad\WPBrowser\Interactions\ButlerInterface

configure() protected method

protected configure ( )

createAcceptanceSuite() protected method

protected createAcceptanceSuite ( $actor = 'Acceptance' )

createFunctionalSuite() protected method

protected createFunctionalSuite ( $actor = 'Functional' )

createGlobalConfig() public method

public createGlobalConfig ( )

createIntegrationSuite() protected method

protected createIntegrationSuite ( $actor = 'Integration' )

decorateOutput() protected method

protected decorateOutput ( Symfony\Component\Console\Output\OutputInterface $output ) : Symfony\Component\Console\Output\OutputInterface | WrappingOutput
$output Symfony\Component\Console\Output\OutputInterface
return Symfony\Component\Console\Output\OutputInterface | tad\WPBrowser\Console\Output\WrappingOutput

execute() public method

public execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

getAcceptanceSuiteConfig() protected method

protected getAcceptanceSuiteConfig ( $actor ) : array
$actor
return array

getDescription() public method

public getDescription ( )

getFunctionalSuiteConfig() protected method

protected getFunctionalSuiteConfig ( $actor ) : array
$actor
return array

getIntegrationSuiteConfig() protected method

protected getIntegrationSuiteConfig ( $actor ) : array
$actor
return array

getScaffoldedSuitesNames() public static method

Returns an array containing the names of the suites the command will scaffold.
public static getScaffoldedSuitesNames ( ) : array
return array

getWordpressConfigDefaults() protected method

protected getWordpressConfigDefaults ( ) : array
return array

getWpbrowserDefaults() protected method

protected getWpbrowserDefaults ( ) : array
return array

getWpdbConfigDefaults() protected method

protected getWpdbConfigDefaults ( ) : array
return array

getWploaderDefaults() protected method

protected getWploaderDefaults ( )

setupSuites() protected method

protected setupSuites ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

Property Details

$butler protected_oe property

protected WPBootsrapButler,tad\WPBrowser\Interactions $butler
return tad\WPBrowser\Interactions\WPBootsrapButler

$theme protected_oe property

Either a theme slug or an array in the [,] format.
protected $theme

$userConfig public_oe property

public array $userConfig
return array