定制 dossierdata/phpunit-finder 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

dossierdata/phpunit-finder

最新稳定版本:v3.0.0

Composer 安装命令:

composer require --dev dossierdata/phpunit-finder

包简介

PHP lib for finding and outputting all tests from a phpunit.xml config file.

关键字:

README 文档

README

This is a helper CLI tool that queries phpunit.xml files to get a list of test filenames and print them. This is useful if you want to split tests to run them in parallel based on timings on CI tools such as CirclCI.

Installation

Install with composer:

composer require --dev previousnext/phpunit-finder

Usage

You can run with defaults using:

./vendor/bin/phpunit-finder

By default, it will look for all test suites to scan.

You can filter by specific test suites as follows:

./vendor/bin/phpunit-finder unit kernel

Configuration

phpunit-finder assumes you have a phpunit.xml in the root of your project. You can override the path using the --config-file option.

It also assumes your tests bootstrap file is found in tests/bootstrap.php. You can override this with the --bootstrap-file option.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2025-01-03