/** * Runs all tests. * * @param PHPUnit_Framework_TestSuite $testSuiteWithAllTestCases suite with all test cases * @param PHPUnit_Framework_TestResult $testResult the test result (will be modified) * * @return void */ protected function runAllTests(PHPUnit_Framework_TestSuite $testSuiteWithAllTestCases, PHPUnit_Framework_TestResult $testResult) { $this->testListener->setTotalNumberOfTests($testSuiteWithAllTestCases->count()); $this->renderProgressbar(); $testSuiteWithAllTestCases->run($testResult); }