integratedexperts/behat-format-progress-fail

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


Keywords
behat, behat-context, behat-extension, php, progress, test
License
GPL-2.0-or-later

Documentation

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