PHP 클래스 ParaTest\Runners\PHPUnit\TestFileLoader

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

보호된 프로퍼티들

프로퍼티 타입 설명
$excludedFiles array The collection of excluded files
$excludingFiles boolean When true, the SuiteLoader add the files to excluded files
$files array The collection of loaded files for this test suite

공개 메소드들

메소드 설명
__construct ( $options = null )
loadPath ( $path, $pattern = null ) : string[] Loads suites based on a specific path.
loadSuitePath ( SuitePath $path ) : string[] Loads a SuitePath and makes sure to take into account the excluded directory / files

비공개 메소드들

메소드 설명
loadDir ( string $path, string $pattern = self::TEST_PATTERN ) Loads suites from a directory
loadFile ( $path ) Load a single suite file
tryLoadTests ( string $path, string $pattern = self::TEST_PATTERN ) Attempts to load suites from a path.

메소드 상세

__construct() 공개 메소드

public __construct ( $options = null )

loadPath() 공개 메소드

A valid path can be a directory or file
public loadPath ( $path, $pattern = null ) : string[]
$path
$pattern
리턴 string[]

loadSuitePath() 공개 메소드

Loads a SuitePath and makes sure to take into account the excluded directory / files
public loadSuitePath ( SuitePath $path ) : string[]
$path SuitePath
리턴 string[]

프로퍼티 상세

$excludedFiles 보호되어 있는 프로퍼티

The collection of excluded files
protected array $excludedFiles
리턴 array

$excludingFiles 보호되어 있는 프로퍼티

When true, the SuiteLoader add the files to excluded files
protected bool $excludingFiles
리턴 boolean

$files 보호되어 있는 프로퍼티

The collection of loaded files for this test suite
protected array $files
리턴 array