jackbayliss/php-unit-art
最新稳定版本:0.1
Composer 安装命令:
composer require jackbayliss/php-unit-art
包简介
ascii art for phpunit, and maybe more!
README 文档
README
This package adds the ability to show art at the end of the PHP Unit output
So how does it work?
Pretty easily, all you need to do is install it via composer require jackbayliss/php-unit-art just add the following into your phpunit.xml.
<extensions>
<bootstrap class="JackBayliss\PhpUnitArt\Extensions\AsciiExtension">
</bootstrap>
</extensions>
How can I define more art?!
Well, for now you can just add a PR of whatever you want to add into the art folder, (the default is sebbyb) - but you can define what art you want to use via the parameter xml as long as its in the art folder. This means you can also keep your own art in that folder locally for your own project, if you didn't want to PR anything.
<extensions>
<bootstrap class="JackBayliss\PhpUnitArt\Extensions\AsciiExtension">
<parameter name="art" value="sebbyb"/>
</bootstrap>
</extensions>
Well, what other art can I add?!
Right now, it's limited to ASCII, or whatever we add into the art folder, but feel free to go wild. PR's are welcome.
Contributing
Please review the contributing.md before creating a PR
phpunit is created by Sebastian (hence the default sebby art), you should check it out if you're not sure what it is!
All rights etc, to him.
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-02-06