2017 © Pedro Peláez
 

library behat-format-progress-fail

Behat context for formatting steps test.

image

integratedexperts/behat-format-progress-fail

Behat context for formatting steps test.

  • Thursday, July 27, 2017
  • by alexdesignworks
  • Repository
  • 2 Watchers
  • 3 Stars
  • 28,519 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 3 Forks
  • 2 Open issues
  • 4 Versions
  • 29 % Grown

The README.md

Behat Progress Fail Output logo , (*1)

Behat Progress Fail Output Extension

[![GitHub Issues](https://img.shields.io/github/issues/drevops/behat-format-progress-fail.svg)](https://github.com/drevops/behat-format-progress-fail/issues) [![GitHub Pull Requests](https://img.shields.io/github/issues-pr/drevops/behat-format-progress-fail.svg)](https://github.com/drevops/behat-format-progress-fail/pulls) [![Test](https://github.com/drevops/behat-format-progress-fail/actions/workflows/test-php.yml/badge.svg)](https://github.com/drevops/behat-format-progress-fail/actions/workflows/test-php.yml) ![GitHub release (latest by date)](https://img.shields.io/github/v/release/drevops/behat-format-progress-fail) ![LICENSE](https://img.shields.io/github/license/drevops/behat-format-progress-fail) ![Renovate](https://img.shields.io/badge/renovate-enabled-green?logo=renovatebot)

Behat output formatter to show progress as TAP and failures inline.
, (*2)

..
--- 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, (*3)

Installation

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

Usage

vendor/bin/behat --format=progress_fail

Configure

behat.yml, (*4)

default:
  extensions:
    DrevOps\BehatFormatProgressFail\FormatExtension: ~

or, (*5)

behat.yml, (*6)

default:
  extensions:
    DrevOps\BehatFormatProgressFail\FormatExtension:
      show_output: in-summary # Supported values: yes | no | on-fail

show_output

Show output from within test steps. "Output" is print, echo, var_dump, etc., (*7)

  • yes - always show the output
  • no - do not show the output
  • on-fail - only show the output if there are test fails
  • in-summary - only show in the summary if there are test fails

Maintenance

Lint code

composer lint
composer lint-fix

Run tests

composer test

This repository was created using the Scaffold project template, (*8)

The Versions

27/07 2017

dev-master

9999999-dev

Behat context for formatting steps test.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by Alex Skrypnyk
by Alexander Sharkov

29/06 2017

0.2.1

0.2.1.0

Behat context for formatting steps test.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by Alex Skrypnyk
by Alexander Sharkov

14/05 2017

0.2.0

0.2.0.0

Behat context for formatting steps test.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by Alex Skrypnyk
by Alexander Sharkov

09/05 2017

0.1.0

0.1.0.0

Behat context for formatting steps test.

  Sources   Download

GPL-2.0+

The Requires

 

The Development Requires

by Alex Skrypnyk
by Alexander Sharkov