Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Closes #395.

  • Loading branch information...
commit 75abcc6407d58b244ee0eb04fba30193b07663c3 1 parent 36bbe32
@sebastianbergmann authored
Showing with 5 additions and 0 deletions.
  1. +1 −0  ChangeLog.markdown
  2. +4 −0 PHPUnit/TextUI/ResultPrinter.php
View
1  ChangeLog.markdown
@@ -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
View
4 PHPUnit/TextUI/ResultPrinter.php
@@ -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());
+ }
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.