public function PHPUnit_TextUI_TestRunner::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/TextUI/TestRunner.php \PHPUnit_TextUI_TestRunner::__construct()
@since Method available since Release 3.4.0
Parameters
PHPUnit_Runner_TestSuiteLoader $loader:
PHP_CodeCoverage_Filter $filter:
File
- vendor/
phpunit/ phpunit/ src/ TextUI/ TestRunner.php, line 60
Class
- PHPUnit_TextUI_TestRunner
- A TestRunner for the Command Line Interface (CLI) PHP SAPI Module.
Code
public function __construct(PHPUnit_Runner_TestSuiteLoader $loader = null, PHP_CodeCoverage_Filter $filter = null) {
if ($filter === null) {
$filter = $this
->getCodeCoverageFilter();
}
$this->codeCoverageFilter = $filter;
$this->loader = $loader;
$this->runtime = new Runtime();
}