wickedone/phpunit-printer

phpunit output with phpstorm editor url

2.0.0 2022-12-29 05:48 UTC

README

prints additional PhpStorm editor url in PHPUnit cli output.

Mutation testing badge codecov Latest Stable Version Total Downloads License PHP Version Require

installation

$ composer require --dev wickedone/phpunit-printer

command line usage:

specify this printer on the command line:

$ php vendor/bin/phpunit --printer='WickedOne\PHPUnitPrinter\PhpStormPrinter' src/

phpunit xml configuration:

specify this printer in your phpunit.xml.dist:

<?xml version="1.0" encoding="UTF-8"?>

<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
<phpunit
        ...
        printerClass="WickedOne\PHPUnitPrinter\PhpStormPrinter"
        ...
        >