PHP 클래스 SimpleCommandLineParser, simpletest

@package SimpleTest
파일 보기 프로젝트 열기: simpletest/simpletest 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $arguments ) Parses raw command line arguments into object properties.
doCodeCoverage ( ) : boolean Should code coverage be run or not.
getExcludes ( ) : array Array of excluded folders.
getHelpText ( ) : string Returns plain-text help message for command line runner.
getTest ( ) : string Run only this test.
getTestCase ( ) : string Run only this test suite.
help ( ) : boolean Output should be a help message. Disabled during XML mode.
isJUnit ( ) : boolean Output should be JUnit or not.
isXml ( ) : boolean Output should be XML or not.
noSkips ( ) : boolean Output should suppress skip messages.

메소드 상세

__construct() 공개 메소드

Parses raw command line arguments into object properties.
public __construct ( string $arguments )
$arguments string Raw commend line arguments.

doCodeCoverage() 공개 메소드

@return boolean True if code coverage should be run.
public doCodeCoverage ( ) : boolean
리턴 boolean

getExcludes() 공개 메소드

@return array Array of strings to exclude from code coverage.
public getExcludes ( ) : array
리턴 array

getHelpText() 공개 메소드

Returns plain-text help message for command line runner.
public getHelpText ( ) : string
리턴 string String help message

getTest() 공개 메소드

Run only this test.
public getTest ( ) : string
리턴 string Test name to run.

getTestCase() 공개 메소드

Run only this test suite.
public getTestCase ( ) : string
리턴 string Test class name to run.

help() 공개 메소드

Output should be a help message. Disabled during XML mode.
public help ( ) : boolean
리턴 boolean True if help message desired.

isJUnit() 공개 메소드

Output should be JUnit or not.
public isJUnit ( ) : boolean
리턴 boolean True if JUnit desired.

isXml() 공개 메소드

Output should be XML or not.
public isXml ( ) : boolean
리턴 boolean True if XML desired.

noSkips() 공개 메소드

Output should suppress skip messages.
public noSkips ( ) : boolean
리턴 boolean True for no skips.