socialpoint/parallel-phpunit

该软件包最新版本(1.0.0)没有提供许可信息。

PHPUnit 并行测试用例执行器

该软件包的官方仓库似乎已不存在,因此该软件包已被冻结。

1.0.0 2014-09-16 15:01 UTC

This package is not auto-updated.

Last update: 2022-02-28 19:33:41 UTC


README

PHPUnit 并行测试用例执行器

安装

Composer

要在项目中使用 Composer 安装,请在项目内部执行以下命令

composer require --dev socialpoint/parallel-phpunit

安装后,二进制文件可以在 vendor/bin/parallel-phpunit 下找到

Pip

可以使用 "pip",Python 软件包管理器,安装 parallel-phpunit

pip install parallel-phpunit

安装后,您可以使用 parallel-phpunit 命令

用法

用法如下

parallel-phpunit [-h] [--max_concurrency MAX_CONCURRENCY]
                      [--configuration CONFIGURATION]
                      [--phpunit_bin PHPUNIT_BIN]
                      [--test_suffix TEST_SUFFIX]
                      [TestCases Dirs [TestCases Dirs ...]]

positional arguments:
  TestCases Dirs        Directories of test cases

optional arguments:
  -h, --help            show this help message and exit
  --max_concurrency MAX_CONCURRENCY
                        Max TestCase processing concurrency (8 by default)
  --configuration CONFIGURATION, -c CONFIGURATION
                        Read configuration from XML file
  --phpunit_bin PHPUNIT_BIN
                        phpunit bin path
  --test_suffix TEST_SUFFIX
                        phpunit test suffix (by default Test.php)