定制 monash/behat-exclude-scenario-name 二次开发

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

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

monash/behat-exclude-scenario-name

Composer 安装命令:

composer require monash/behat-exclude-scenario-name

包简介

Allows to exclude scenarios in feature file.

README 文档

README

Allows to exclude scenarios from a feature file

##Usage

  1. Install plugin:

    $composer require monash/behat-exclude-scenario-name --dev
  2. Configure the filter in behat.yml file as below: Add the filter under your suite in which you want to exclude scenarios

    # behat.yml
    default:    
        filters:
        exclude-scenario-names:
            - scenario 1
            - scenario 2
            - scenario 3
  3. Add below lines as extension to make it available for Extension manager:

    # behat.yml
    default:
    ...
        extensions:
            Monash\BehatExcludeScenarioName: ~

    where, '~' means empty arguments. Scenarios to exclude should be added under 'filters' tag in step 2.

  4. That's it, it excludes all the scenarios mentioned under filters:

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Monash
  • 更新时间: 2018-10-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固