PHP 클래스 ParaTest\Runners\PHPUnit\SuiteLoader

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

보호된 프로퍼티들

프로퍼티 타입 설명
$files array The collection of loaded files
$loadedSuites array The collection of parsed test classes

공개 메소드들

메소드 설명
__construct ( $options = null )
getSuites ( ) : array Returns all parsed suite objects as ExecutableTest instances
getTestMethods ( ) : array Returns a collection of TestMethod objects for all loaded ExecutableTest instances
load ( string $path = '' ) Populates the loaded suite collection. Will load suites based off a phpunit xml configuration or a specified path

비공개 메소드들

메소드 설명
addDependentTestsToBatchSet ( &$batches, $dependsOn, $tests )
addTestsToBatchSet ( &$batches, $tests, $maxBatchSize )
createSuite ( $path, ParaTest\Parser\ParsedClass $class )
executableTests ( $path, $class )
getMethodBatches ( ParaTest\Parser\ParsedClass $class ) : array Get method batches.
getMethodTests ( ParaTest\Parser\ParsedClass $class, ParaTest\Parser\ParsedObject $method, boolean $useDataProvider = false ) : string[] Get method all available tests.
initSuites ( ) Called after all files are loaded. Parses loaded files into ExecutableTest objects - either Suite or TestMethod
methodDataProvider ( $method )
methodDependency ( $method )
methodGroups ( $method )
testMatchFilterOptions ( $className, $name, $group )
testMatchGroupOptions ( $groups )
testMatchOptions ( $className, $name, $group )

메소드 상세

__construct() 공개 메소드

public __construct ( $options = null )

getSuites() 공개 메소드

Returns all parsed suite objects as ExecutableTest instances
public getSuites ( ) : array
리턴 array

getTestMethods() 공개 메소드

Returns a collection of TestMethod objects for all loaded ExecutableTest instances
public getTestMethods ( ) : array
리턴 array

load() 공개 메소드

Populates the loaded suite collection. Will load suites based off a phpunit xml configuration or a specified path
public load ( string $path = '' )
$path string

프로퍼티 상세

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

The collection of loaded files
protected array $files
리턴 array

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

The collection of parsed test classes
protected array $loadedSuites
리턴 array