force() public method

Failing test cases are not a problem anymore.
public force ( PHPUnit_Framework_TestCase $test )
$test PHPUnit_Framework_TestCase
Beispiel #1
0
 /**
  * {@inheritdoc}
  */
 public function endTest(PHPUnit_Framework_Test $test, $time)
 {
     if (!$test instanceof PHPUnit_Framework_TestCase) {
         return;
     }
     if ($this->secretSoftware->underScrutiny()) {
         $this->secretSoftware->force($test);
     }
 }