PHP Class PHPUnit_Extensions_RepeatedTest, qcodo

Author: Sebastian Bergmann ([email protected])
Inheritance: extends PHPUnit_Extensions_TestDecorator
Show file Open project: qcodo/qcodo Class Usage Examples

Protected Properties

Property Type Description
$excludeGroups array
$filter mixed
$groups array
$processIsolation boolean
$timesRepeat integer

Public Methods

Method Description
__construct ( PHPUnit_Framework_Test $test, integer $timesRepeat = 1, mixed $filter = FALSE, array $groups = [], array $excludeGroups = [], boolean $processIsolation = FALSE ) Constructor.
count ( ) : integer Counts the number of test cases that will be run by this test.
run ( PHPUnit_Framework_TestResult $result = NULL ) : PHPUnit_Framework_TestResult Runs the decorated test and collects the result in a TestResult.

Method Details

__construct() public method

Constructor.
public __construct ( PHPUnit_Framework_Test $test, integer $timesRepeat = 1, mixed $filter = FALSE, array $groups = [], array $excludeGroups = [], boolean $processIsolation = FALSE )
$test PHPUnit_Framework_Test
$timesRepeat integer
$filter mixed
$groups array
$excludeGroups array
$processIsolation boolean

count() public method

Counts the number of test cases that will be run by this test.
public count ( ) : integer
return integer

run() public method

Runs the decorated test and collects the result in a TestResult.
public run ( PHPUnit_Framework_TestResult $result = NULL ) : PHPUnit_Framework_TestResult
$result PHPUnit_Framework_TestResult
return PHPUnit_Framework_TestResult

Property Details

$excludeGroups protected property

protected array $excludeGroups
return array

$filter protected property

protected mixed $filter
return mixed

$groups protected property

protected array $groups
return array

$processIsolation protected property

protected bool $processIsolation
return boolean

$timesRepeat protected property

protected int $timesRepeat
return integer