evert/phpunit-bin 问题修复 & 功能扩展

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

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

evert/phpunit-bin

Composer 安装命令:

composer require evert/phpunit-bin

包简介

Global phpunit cli script that finds your project's phpunit and runs it.

README 文档

README

Many PHP projects now supply PHPUnit via require-dev in composer. This means that to run PHPUnit, you often have to supply a full path to the local phpunit binary.

This package is intended to be installed globally, and supplies you with a phpunit script as well.

This script will automatically find a composer.json in your current path or one of its parents, and find the correct "local" phpunit script and runs it for you.

In addition to that, it will also attempt to find phpunit.xml or phpunit.xml.dist and change the working directory to that path before running the real phpunit script.

This means that using this script, you can just invoke phpunit from wherever you are in your project, and it will run it correctly.

Installation

composer global require evert/phpunit-bin

Make sure that after you run that, your global composer bin directory is in your $PATH. This is usually ~/.composer/vendor/bin, or ~/.config/composer/vendor/bin

统计信息

  • 总下载量: 77
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 18
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 18
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-02-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固