Skip to content

Commit

Permalink
Closes #395.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Nov 3, 2011
1 parent 36bbe32 commit 75abcc6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog.markdown
Expand Up @@ -6,6 +6,7 @@ This is the list of changes for the PHPUnit 3.6 release series.
PHPUnit 3.6.1
-------------

* Implemented #395: `--debug` now prints the output of tests for debugging purposes.
* Fixed `--coverage-php` and `--coverage-text`.

PHPUnit 3.6.0
Expand Down
4 changes: 4 additions & 0 deletions PHPUnit/TextUI/ResultPrinter.php
Expand Up @@ -598,6 +598,10 @@ public function endTest(PHPUnit_Framework_Test $test, $time)
}

$this->lastTestFailed = FALSE;

if ($this->debug && $test instanceof PHPUnit_Framework_TestCase) {
$this->write($test->getActualOutput());
}
}

/**
Expand Down

0 comments on commit 75abcc6

Please sign in to comment.