PHP Класс SimpleCommandLineParser, simpletest

@package SimpleTest
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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.