phpunit的并行测试用例运行器
parallel-phpunit的Python项目详细描述
phpunit的并行测试用例运行器
安装
作曲家
要使用composer进行安装,请在项目中执行以下命令:
composer require --dev socialpoint/parallel-phpunit
安装后,可以在vendor/bin/parallel-phpunit
PIP
parallel phpunit可以通过python包管理器pip安装,使用:
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)