PHP 클래스 VersionPress\Tests\Utils\TestConfig

파일 보기 프로젝트 열기: versionpress/versionpress 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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)

공개 메소드들

메소드 설명
__construct ( $configFile )
createDefaultConfig ( ) : TestConfig Creates new instance of TestConfig from {@link TestConfig::$defaultConfigFile}.

메소드 상세

__construct() 공개 메소드

public __construct ( $configFile )

createDefaultConfig() 공개 정적인 메소드

Creates new instance of TestConfig from {@link TestConfig::$defaultConfigFile}.
public static createDefaultConfig ( ) : TestConfig
리턴 TestConfig

프로퍼티 상세

$defaultConfigFile 공개적으로 정적으로 프로퍼티

public static $defaultConfigFile

$end2endTestType 공개적으로 프로퍼티

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

$seleniumConfig 공개적으로 프로퍼티

public SeleniumConfig,VersionPress\Tests\Utils $seleniumConfig
리턴 SeleniumConfig

$sites 공개적으로 프로퍼티

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

$testSite 공개적으로 프로퍼티

Site used for current testing. One of the $sites.
public SiteConfig,VersionPress\Tests\Utils $testSite
리턴 SiteConfig

$wpCliVersion 공개적으로 프로퍼티

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