friends-of-behat/suite-settings-extension 问题修复 & 功能扩展

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

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

friends-of-behat/suite-settings-extension

最新稳定版本:v1.1.0

Composer 安装命令:

composer require friends-of-behat/suite-settings-extension

包简介

Allows to overwrite suites' default settings.

README 文档

README

Allows overwriting suites' default settings.

Usage

  1. Install it:

    composer require friends-of-behat/suite-settings-extension --dev
  2. Enable and configure default suite settings in your Behat configuration:

    # behat.yml
    default:
        # ...
        extensions:
            FriendsOfBehat\SuiteSettingsExtension: # the default configuration:
                paths:
                    - "features" # default one!
                contexts:
                    - "FeatureContext" # default one!
  3. Every suite you create will have those settings as the default ones.

Configuration reference

  • paths - an array, contains locations where Behat looks for *.feature files
  • contexts - an array, if there are no custom ones in suite configured, these are used

Protip!

If you've changed your paths, that they do not contain features anymore, your contexts may be not loaded properly. To ensure this, pass the same folder to built-in autoloader extension:

# behat.yml
default:
    # ...
    autoload:
        - "%paths.base%/custom_features/bootstrap" # features -> custom_features
    
    extensions:
        FriendsOfBehat\SuiteSettingsExtension:
            paths:
                - "custom_features"

统计信息

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

GitHub 信息

  • Stars: 214
  • Watchers: 5
  • Forks: 3
  • 开发语言: Gherkin

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固