fonsecas72/behat-giffy-extension 问题修复 & 功能扩展

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

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

fonsecas72/behat-giffy-extension

Composer 安装命令:

composer require fonsecas72/behat-giffy-extension

包简介

Takes screenshots for every browser interaction made

README 文档

README

Behat extension that generates an animated gif with the complete interaction of tagged scenarios

This extension adds a driver that will allow you to create a animated GIF based on saved screenshots for each interaction with the browser.

Enable it by adding it to your session group and by adding a @giffy tag to your feature/scenario.

You can also use as your default session (javascript maybe) but be aware that it will slow down your tests.

It works on top of selenium2

##How to use

Add it as composer dependency

composer require fonsecas72/behat-giffy-extension

Update you behat.yml

default:
    extensions:
        Fonsecas72\GiffyExtension:
            screenshot_path: build/gifs
            use_scenario_folder: true
        Behat\MinkExtension:
            base_url:             http://link.php
            files_path:           'features'
            browser_name:         firefox
            default_session:      selenium2
            javascript_session:   selenium2
            sessions:
                selenium2:
                    selenium2: ~
                giffy:
                    giffy: ~
giffy:
    extensions:
            Behat\MinkExtension:
                default_session:      giffy
                javascript_session:   giffy

Then you could do:

behat -p giffy

Or you can append the @giffy tag to your feature/scenario.

统计信息

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

GitHub 信息

  • Stars: 11
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-07-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固