santik / phpunit-profiler
Phpunit listener for profiling tests
0.1.3
2017-11-07 11:53 UTC
Requires
- php: >=5
- phpunit/phpunit: ^4.6
This package is not auto-updated.
Last update: 2025-04-10 19:51:16 UTC
README
Small library for showing how much time every test took to run.
Installation
$ composer require santik/phpunit-profiler
Configuration
Add following lines in your phpunit.xml file.
<listeners>
...
<listener class="ProfilingTestListener" file="PATH_TO_DIRECTORY_WITH_LIBRARY/ProfilingTestListener.php">
<arguments>
<double>0.015</double><!--seconds-->
<double>0.001</double><!--seconds-->
</arguments>
</listener>
....
</listeners>