gh640/phpunit-tap 问题修复 & 功能扩展

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

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

gh640/phpunit-tap

最新稳定版本:5.0.0

Composer 安装命令:

composer require gh640/phpunit-tap

包简介

Provides a TAP result printer for PHPUnit.

README 文档

README

Build Status

A simple Composer package which provides a TAP result printer for PHPUnit.

capture

Usage

Install the package with Composer.

$ composer require --dev gh640/phpunit-tap

Specify the TAP result printer with the --printer option when running phpunit. The printer's FQCN is gh640\PhpunitTap\TapResultPrinter.

$ phpunit --printer gh640\PhpunitTap\TapResultPrinter [your test file]

You can pipe the output to your favorite TAP reporter/formatter. See also sindresorhus/awesome-tap | GitHub.

$ phpunit --printer gh640\PhpunitTap\TapResultPrinter [your test file] | tap-dot
$ phpunit --printer gh640\PhpunitTap\TapResultPrinter [your test file] | tap-nyan
$ phpunit --printer gh640\PhpunitTap\TapResultPrinter [your test file] | tap-notify

Or, you can omit the option --printer by adding the option into your phpunit.xml.

<?xml version="1.0" encoding="UTF-8"?>

<phpunit
  printerClass="gh640\PhpunitTap\TapResultPrinter"
>
</phpunit>

Dependencies

This package depends on the following packages.

  • phpunit/phpunit
  • symfony/yaml

For the detailed dependencies, please have a look at the Packagist page.

Issues

If you find an issue, please file it in the issue queue.

Issues · gh640/phpunit-tap · GitHub

Reference

License

Licensed under the MIT license.

统计信息

  • 总下载量: 121.19k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-09-03