drevops/behat-format-progress-fail

Behat 输出格式化器,用于以 TAP 格式显示进度并显示错误。

1.2.0 2024-01-02 03:59 UTC

This package is auto-updated.

Last update: 2024-09-17 23:29:14 UTC


README

Behat Progress Fail Output logo

Behat 进度失败输出扩展

GitHub Issues GitHub Pull Requests Test GitHub release (latest by date) LICENSE Renovate

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

Output in CI

安装

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/ 项目模板创建的存储库