openeuropa/task-runner-ensure-behat-batching
最新稳定版本:1.1.0
Composer 安装命令:
composer require openeuropa/task-runner-ensure-behat-batching
包简介
OpenEuropa TaskRunner command to ensure all Behat tests have batch tags.
README 文档
README
The "Ensure Behat batching" is Task Runner command that ensures Behat features are properly tagged for batched execution by special batch tag "@batch[BATCH_NUMBER]". This tag is used to divide tests execution on few parallel processes.
Installation
Require the command as a dev dependency:
composer require --dev openeuropa/task-runner-ensure-behat-batching
Usage
Make sure to always run the following command, after adding files and scenarios into Behat tests:
./vendor/bin/run behat:ensure-batching --path=FOLDER_WITH_TESTS
Step debugging
To enable step debugging from the command line, pass the XDEBUG_SESSION environment variable with any value to
the Docker container:
docker-compose exec -e XDEBUG_SESSION=1 web <your command>
Please note that, starting from XDebug 3, a connection error message will be outputted in the console if the variable is set but your client is not listening for debugging connections. The error message will cause false negatives for PHPUnit tests.
To initiate step debugging from the browser, set the correct cookie using a browser extension or a bookmarklet like the ones generated at https://www.jetbrains.com/phpstorm/marklets/.
统计信息
- 总下载量: 21.14k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: EUPL-1.2
- 更新时间: 2021-10-08