ciaranmcnulty/behat-stepthroughextension 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ciaranmcnulty/behat-stepthroughextension

最新稳定版本:1.0.2

Composer 安装命令:

composer require ciaranmcnulty/behat-stepthroughextension

包简介

Extension for behat to help debug failing scenarios

README 文档

README

Behat-StepThroughExtension helps you debug Behat scenarios by stopping execution in between steps.

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.

Usage

When debugging a particular scenario, use the --step-through flag at the cli:

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.

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.

Installation

Install by adding to your composer.json:

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

Configuration

There are no configuration parameters, just enable the extension in behat.yml

default:
  extensions:
    Cjm\Behat\StepThroughExtension: ~

统计信息

  • 总下载量: 1.58M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 62
  • 点击次数: 1
  • 依赖项目数: 5
  • 推荐数: 0

GitHub 信息

  • Stars: 60
  • Watchers: 4
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-09-04