承接 babeuloula/phpunit-coverage-checker 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

babeuloula/phpunit-coverage-checker

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.87k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 8
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固