frzb/phpunit-pretty-io
最新稳定版本:v1.0.0
Composer 安装命令:
composer require frzb/phpunit-pretty-io
包简介
Pretty IO For PHPUnit
README 文档
README
✅ Make your PHPUnit output beautiful
Installation
composer require frzb/phpunit-pretty-io --dev
This package supports PHPUnit 9 and 10.
Usage
You can specify the printer to use on the phpunit command line:
Use the following:
php vendor/bin/phpunit --printer 'FRZB\PHPUnit\IO\PrettyInputOutput' tests/
Optionally, you can add it to your project's phpunit.xml file instead:
<phpunit bootstrap="bootstrap.php" colors="true" printerClass="FRZB\PHPUnit\IO\PrettyInputOutput" />
Optional
To view progress while tests are running you can set FRZB_PHPUNIT_PRETTY_IO_PROGRESS=true as environment variable on your server or within your phpunit.xml config file.
<phpunit> <php> <env name="FRZB_PHPUNIT_PRETTY_IO_PROGRESS" value="true" /> </php> </phpunit>
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-08-02
