PHP Класс Robo\Task\Testing\PHPUnit

php taskPHPUnit() ->group('core') ->bootstrap('test/bootstrap.php') ->run() ?>
Наследование: extends Robo\Task\BaseTask, implements Robo\Contract\CommandInterface, implements Robo\Contract\PrintedInterface, use trait Robo\Common\ExecOneCommand
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$command string
$files string Directory of test files or single test file to run. Appended to the command and arguments.

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

Метод Описание
__construct ( $pathToPhpUnit = null )
bootstrap ( string $file )
configFile ( string $file )
debug ( )
excludeGroup ( string $group )
file ( string $file ) Test the provided file.
files ( string $files ) Directory of test files or single test file to run.
filter ( string $filter )
getCommand ( )
group ( string $group )
json ( string $file = null ) adds log-json option to runner
run ( )
tap ( string $file = "" )
xml ( string $file = null ) adds log-junit option

Описание методов

__construct() публичный Метод

public __construct ( $pathToPhpUnit = null )

bootstrap() публичный Метод

public bootstrap ( string $file )
$file string

configFile() публичный Метод

public configFile ( string $file )
$file string

debug() публичный Метод

public debug ( )

excludeGroup() публичный Метод

public excludeGroup ( string $group )
$group string

file() публичный Метод

Test the provided file.
public file ( string $file )
$file string path to file to test

files() публичный Метод

Directory of test files or single test file to run.
Устаревший: Use file() or dir() method instead
public files ( string $files )
$files string A single test file or a directory containing test files.

filter() публичный Метод

public filter ( string $filter )
$filter string

getCommand() публичный Метод

public getCommand ( )

group() публичный Метод

public group ( string $group )
$group string

json() публичный Метод

adds log-json option to runner
public json ( string $file = null )
$file string

run() публичный Метод

public run ( )

tap() публичный Метод

public tap ( string $file = "" )
$file string

xml() публичный Метод

adds log-junit option
public xml ( string $file = null )
$file string

Описание свойств

$command защищенное свойство

protected string $command
Результат string

$files защищенное свойство

Directory of test files or single test file to run. Appended to the command and arguments.
protected string $files
Результат string