drevops / behat-format-progress-fail
Behat 输出格式化器,用于以 TAP 格式显示进度并显示错误。
1.2.0
2024-01-02 03:59 UTC
Requires
- php: >=8.1
- behat/behat: ^3.3
Requires (Dev)
- behat/mink: ^1.8
- dealerdirect/phpcodesniffer-composer-installer: ^1.0
- drevops/behat-phpserver: ^1
- escapestudios/symfony2-coding-standard: ^3
- phpmd/phpmd: ^2.14
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^10.0
- squizlabs/php_codesniffer: ^3
- symfony/process: ^6 || ^7.0
README
Behat 进度失败输出扩展
Behat 输出格式化器,用于以 TAP 格式显示进度并显示错误。
..
--- FAIL ---
Then I should have 3 apples # (features/apples.feature):11
Failed asserting that 2 matches expected 3.
------------
......U.......
--- FAIL ---
Then I should have 8 apples # (features/apples.feature):25
Failed asserting that 7 matches expected 8.
------------
.....UU
安装
composer require --dev drevops/behat-format-progress-fail
使用
vendor/bin/behat --format=progress_fail
配置
behat.yml
default: extensions: DrevOps\BehatFormatProgressFail\FormatExtension: ~
维护
代码检查
composer lint composer lint-fix
运行测试
composer test
使用 https://getscaffold.dev/ 项目模板创建的存储库