定制 bex/behat-screenshot-image-driver-dummy 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

bex/behat-screenshot-image-driver-dummy

最新稳定版本:1.0.1

Composer 安装命令:

composer require bex/behat-screenshot-image-driver-dummy

包简介

dummy image driver for bex/behat-screenshot behat extension

README 文档

README

Scrutinizer Code Quality Build Status Build Status

This package is an image driver for the bex/behat-screenshot behat extension which is just an example to show how an image driver should look like. So it only returns a dummy image url.

Installation

Install by adding to your composer.json:

composer require --dev bex/behat-screenshot-image-driver-dummy

Configuration

Enable the image driver in the Behat-ScreenshotExtension's config in behat.yml like this:

default:
  extensions:
    Bex\Behat\ScreenshotExtension:
      active_image_drivers: dummy

Usage

When you run behat and a step fails then the Behat-ScreenshotExtension will automatically take the screenshot and will pass it to the image driver, which will return the dummy image url. So you will see something like this:

  Scenario:                           # features/feature.feature:2
    Given I have a step               # FeatureContext::passingStep()
    When I have a failing step        # FeatureContext::failingStep()
      Error (Exception)
Screenshot has been taken. Open image at http://docs.behat.org/en/v2.5/_static/img/logo.png
    Then I should have a skipped step # FeatureContext::skippedStep()

统计信息

  • 总下载量: 1.18k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-11-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固