Свойство | Тип | Описание | |
---|---|---|---|
$defaultConfigFile | |||
$end2endTestType | string | Type of workers that will run the tests (selenium / wp-cli). | |
$seleniumConfig | |||
$sites | Associative array of configured sites where key is the site name and value is a SiteConfig. | ||
$testSite | 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) |
Метод | Описание | |
---|---|---|
__construct ( $configFile ) | ||
createDefaultConfig ( ) : TestConfig | Creates new instance of TestConfig from {@link TestConfig::$defaultConfigFile}. |
public static createDefaultConfig ( ) : TestConfig | ||
Результат | TestConfig |
public string $end2endTestType | ||
Результат | string |
public SeleniumConfig,VersionPress\Tests\Utils $seleniumConfig | ||
Результат |
public SiteConfig[],VersionPress\Tests\Utils $sites | ||
Результат |
public SiteConfig,VersionPress\Tests\Utils $testSite | ||
Результат |
public string $wpCliVersion | ||
Результат | string |