PHP Class VersionPress\Tests\Utils\TestConfig

Afficher le fichier Open project: versionpress/versionpress Class Usage Examples

Méthodes publiques

Свойство Type Description
$defaultConfigFile
$end2endTestType string Type of workers that will run the tests (selenium / wp-cli).
$seleniumConfig SeleniumConfig
$sites SiteConfig[] Associative array of configured sites where key is the site name and value is a SiteConfig.
$testSite SiteConfig Site used for current testing. One of the $sites.
$wpCliVersion string Version of WP-CLI that will be used (e.g. 0.19.0 / latest-stable)

Méthodes publiques

Méthode Description
__construct ( $configFile )
createDefaultConfig ( ) : TestConfig Creates new instance of TestConfig from {@link TestConfig::$defaultConfigFile}.

Method Details

__construct() public méthode

public __construct ( $configFile )

createDefaultConfig() public static méthode

Creates new instance of TestConfig from {@link TestConfig::$defaultConfigFile}.
public static createDefaultConfig ( ) : TestConfig
Résultat TestConfig

Property Details

$defaultConfigFile public_oe static_oe property

public static $defaultConfigFile

$end2endTestType public_oe property

Type of workers that will run the tests (selenium / wp-cli).
public string $end2endTestType
Résultat string

$seleniumConfig public_oe property

public SeleniumConfig,VersionPress\Tests\Utils $seleniumConfig
Résultat SeleniumConfig

$sites public_oe property

Associative array of configured sites where key is the site name and value is a SiteConfig.
public SiteConfig[],VersionPress\Tests\Utils $sites
Résultat SiteConfig[]

$testSite public_oe property

Site used for current testing. One of the $sites.
public SiteConfig,VersionPress\Tests\Utils $testSite
Résultat SiteConfig

$wpCliVersion public_oe property

Version of WP-CLI that will be used (e.g. 0.19.0 / latest-stable)
public string $wpCliVersion
Résultat string