Skip to content

4. ResultPrinter

Siad Ardroumli edited this page May 28, 2015 · 3 revisions

Add these lines to the <phpunit> attributes in your project's phpunit.xml file.

  printerFile="vendor/mehr-als-nix/assumptions/src/ResultPrinter.php"
  printerClass="MehrAlsNix\Assumptions\ResultPrinter"

Output:

$ vendor/bin/phpunit
PHPUnit 4.6.6 by Sebastian Bergmann and contributors.

Configuration read from phpunit.xml

SSSSSSSSSS

Time: 466 ms, Memory: 5.25Mb

OK, but incomplete, skipped, or risky tests!
Tests: 100, Assertions: 0, Assumptions: 10.

Generating code coverage report in Clover XML format ... done
Clone this wiki locally