jackbayliss/php-unit-art 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub Tests Action Status

image

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-02-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固