2017 © Pedro Peláez
 

library behat-stepthroughextension

Extension for behat to help debug failing scenarios

image

ciaranmcnulty/behat-stepthroughextension

Extension for behat to help debug failing scenarios

  • Saturday, October 15, 2016
  • by ciaranmcnulty
  • Repository
  • 4 Watchers
  • 52 Stars
  • 59,687 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 6 Forks
  • 2 Open issues
  • 5 Versions
  • 7 % Grown

The README.md

Behat-StepThroughExtension helps you debug Behat scenarios by stopping execution in between steps., (*1)

This allows you to do things like observe DB state, look at the pages open in your browser automation suite, examine files created on disks etc., while still being able to resume scenario execution and let any post-scenario cleanup hooks run., (*2)

Usage

When debugging a particular scenario, use the --step-through flag at the cli:, (*3)

bin/behat --step-through features/my-failing-feature

After each step you will see the message [Paused after "<step text>" - press enter to continue]. The Behat test suite will stay in this suspended state until a carriage return is received, to allow you to do any inspections necessary., (*4)

Note: Execution will also pause after each step of a Background, but depending on the formatter in use there may not be any other indication that a Background step has been run., (*5)

Installation

Install by adding to your composer.json:, (*6)

{
     "require-dev": {
         "ciaranmcnulty/behat-stepthroughextension" : "dev-master"
     }
 }

Configuration

There are no configuration parameters, just enable the extension in behat.yml, (*7)

default:
  extensions:
    Cjm\Behat\StepThroughExtension: ~

The Versions

15/10 2016

dev-master

9999999-dev http://github.com/ciaranmcnulty/behat-stepthroughextension

Extension for behat to help debug failing scenarios

  Sources   Download

MIT

The Requires

 

The Development Requires

bdd tdd behat

15/10 2016

1.0.2

1.0.2.0 http://github.com/ciaranmcnulty/behat-stepthroughextension

Extension for behat to help debug failing scenarios

  Sources   Download

MIT

The Requires

 

The Development Requires

bdd tdd behat

21/05 2016

dev-setup-travis

dev-setup-travis http://github.com/ciaranmcnulty/behat-stepthroughextension

Extension for behat to help debug failing scenarios

  Sources   Download

MIT

The Requires

 

The Development Requires

bdd tdd behat

19/05 2016

1.0.1

1.0.1.0 http://github.com/ciaranmcnulty/behat-stepthroughextension

Extension for behat to help debug failing scenarios

  Sources   Download

MIT

The Requires

 

The Development Requires

bdd tdd behat

07/09 2014

1.0.0

1.0.0.0 http://github.com/ciaranmcnulty/behat-stepthroughextension

Extension for behat to help debug failing scenarios

  Sources   Download

MIT

The Requires

 

The Development Requires

bdd tdd behat