项目作者: LimeDeck

项目描述 :
Detailed output formatter for PHPUnit tests
高级语言: PHP
项目地址: git://github.com/LimeDeck/phpunit-detailed-printer.git
创建时间: 2016-08-15T22:26:21Z
项目社区:https://github.com/LimeDeck/phpunit-detailed-printer

开源协议:MIT License

下载


📋 Detailed PHPUnit Printer

It turns the default PHPUnit output…

default-printer

… into a more informative output with readable function names and execution time allowing you to start fixing errors even before the whole suite finishes:

detailed-printer

Build Status: Linux
Build status: Windows
GitHub release

Installation

  1. composer require limedeck/phpunit-detailed-printer --dev

PHPUnit version compatibility

PHPUnit Package
9.x.x 6.x.x
8.x.x 5.x.x
7.x.x 4.x.x
6.x.x 3.2.x
5.x.x 2.0.x

Usage

Set the printer class in phpunit.xml

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <phpunit backupGlobals="false"
  3. ...
  4. printerClass="LimeDeck\Testing\Printer"
  5. ...
  6. >

Tests

To run the test suite, use phpunit command.

Contributing

Thanks for your interest in PHPUnit Detailed Printer! If you’d like to contribute, please read our contributing guide.

License

Detailed PHPUnit Printer is open-sourced software licensed under the MIT license. If you’d like to read the license agreement, click here.