You are here

protected function PHPUnit_TextUI_TestRunner::runFailed in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/TextUI/TestRunner.php \PHPUnit_TextUI_TestRunner::runFailed()

Override to define how to handle a failed loading of a test suite.

Parameters

string $message:

Overrides PHPUnit_Runner_BaseTestRunner::runFailed

File

vendor/phpunit/phpunit/src/TextUI/TestRunner.php, line 553

Class

PHPUnit_TextUI_TestRunner
A TestRunner for the Command Line Interface (CLI) PHP SAPI Module.

Code

protected function runFailed($message) {
  $this
    ->write($message . PHP_EOL);
  exit(self::FAILURE_EXIT);
}