Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ixnode/php-phpunit-printer

Overwrites the PHPUnit Printer with formatted output.
https://github.com/ixnode/php-phpunit-printer

Last synced: about 1 month ago
JSON representation

Overwrites the PHPUnit Printer with formatted output.

Awesome Lists containing this project

README

        

# PHP Container

[![Release](https://img.shields.io/github/v/release/ixnode/php-phpunit-printer)](https://github.com/ixnode/php-phpunit-printer/releases)
[![PHP](https://img.shields.io/badge/PHP-^8.0-777bb3.svg?logo=php&logoColor=white&labelColor=555555&style=flat)](https://www.php.net/supported-versions.php)
[![PHPStan](https://img.shields.io/badge/PHPStan-Level%20Max-brightgreen.svg?style=flat)](https://phpstan.org/user-guide/rule-levels)
[![PHPCS](https://img.shields.io/badge/PHPCS-PSR12-brightgreen.svg?style=flat)](https://www.php-fig.org/psr/psr-12/)
[![LICENSE](https://img.shields.io/github/license/ixnode/php-phpunit-printer)](https://github.com/ixnode/php-phpunit-printer/blob/master/LICENSE)

> Overwrites the PHPUnit Printer with formatted output.

## 1) Installation

```bash
composer require --dev ixnode/php-phpunit-printer
```

```bash
vendor/bin/php-phpunit-printer -V
```

```bash
php-phpunit-printer 0.1.0 (02-04-2023 22:33:53) - Björn Hempel
```

## 2) Usage

PHPUnit output

After installing this Composer package, you can edit your phpunit.xml as follows:

```xml

...

```

A complete phpunit.xml example could look like this:

```xml











tests




```

## 3.) Development

```bash
git clone [email protected]:ixnode/php-phpunit-printer.git && cd php-phpunit-printer
```

```bash
composer install
```

```bash
composer test
```

## 4.) License

This tool is licensed under the MIT License - see the [LICENSE](/LICENSE) file for details