babeuloula/phpunit-coverage-checker 问题修复 & 功能扩展

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

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

babeuloula/phpunit-coverage-checker

最新稳定版本:v1.0.1

Composer 安装命令:

composer require babeuloula/phpunit-coverage-checker

包简介

PhpUnit coverage checker, fail if coverage goes below a threshold

README 文档

README

This script will read the XML coverage result and calculates the coverage score. Based on the given threshold the script will exit(0) if the coverage is higher than the threshold or exit(1) if the coverage is lower than the threshold.

Installation

composer require --dev babeuloula/phpunit-coverage-checker

Usage

vendor/bin/coverage-checker <path/to/coverage/index.xml> <threshold>

Example:

./vendor/bin/phpunit --coverage-xml ./coverage
vendor/bin/coverage-checker coverage/xml/index.xml 80

Thanks

Thanks to richardregeer and cylab.be.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-07-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固