Download the PHP package andreadelfino/phpunit-timings-printer without Composer
On this page you can find all versions of the php package andreadelfino/phpunit-timings-printer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download andreadelfino/phpunit-timings-printer
More information about andreadelfino/phpunit-timings-printer
Files in andreadelfino/phpunit-timings-printer
Download andreadelfino/phpunit-timings-printer
More information about andreadelfino/phpunit-timings-printer
Files in andreadelfino/phpunit-timings-printer
Vendor andreadelfino
Package phpunit-timings-printer
Short Description PHPUnit printer with timings reporting
License MIT
Homepage http://github.com/andreadelfino/phpunit-timings-printer
Package phpunit-timings-printer
Short Description PHPUnit printer with timings reporting
License MIT
Homepage http://github.com/andreadelfino/phpunit-timings-printer
Please rate this library. Is it a good library?
Informations about the package phpunit-timings-printer
PHPUnit ResultPrinter with Tests Timings
This printer just collect tests execution timings and report the slowest 10 exceeding a defined threshold in normal mode and all the timings in verbose mode.
Requirements
- PHP 5.3.3 or later
- PHPUnit 3.7 or later
Installation
To install it via composer composer just add in composer.json
:
{
"require-dev": {
"andreadelfino/phpunit-timings-printer": "~0.1"
}
}
Once installed, add the following attributes to the <phpunit>
element in your phpunit.xml
file:
printerFile="vendor/andreadelfino/phpunit-timings-printer/lib/Timings/ResultPrinter.php"
printerClass="Dolphin\PHPUnit\Timings\ResultPrinter"
and the following tag to tune Threshold
and Verbose
options:
<listeners>
<listener file="vendor/andreadelfino/phpunit-timings-printer/lib/Timings/TestListener.php"
class="Dolphin\PHPUnit\Timings\TestListener">
<arguments>
<double>1.0</double>/* Threshold (default: 1.0) */
<boolean>false</boolean>/* Verbose (default: false) */
</arguments>
</listener>
</listeners>
Tests
To run the test suite you need composer.
$ php composer.phar install
$ vendor/bin/phpunit
License
Licensed under the MIT license.
All versions of phpunit-timings-printer with dependencies
PHP Build Version
Package Version
The package andreadelfino/phpunit-timings-printer contains the following files
Loading the files please wait ....