Skip to content

🧪 Behat output formatter to show progress as TAP and failures inline

License

Notifications You must be signed in to change notification settings

drevops/behat-format-progress-fail

Repository files navigation

Behat Progress Fail Output logo

Behat Progress Fail Output Extension

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

Behat output formatter to show progress as TAP and failures inline.

..
--- 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

Installation

composer require --dev drevops/behat-format-progress-fail

Usage

vendor/bin/behat --format=progress_fail

Configure

behat.yml

default:
  extensions:
    DrevOps\BehatFormatProgressFail\FormatExtension: ~

Maintenance

Lint code

composer lint
composer lint-fix

Run tests

composer test

Repository created using https://getscaffold.dev/ project scaffold template