定制 behat/drupal-propeople-context 二次开发

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

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

behat/drupal-propeople-context

最新稳定版本:1.2.3

Composer 安装命令:

composer require --dev behat/drupal-propeople-context

包简介

Drupal context by Propeople for Behat

README 文档

README

Behat context by Propeople

The Propeople Drupal Context provide a flexible methods for testing websites, running on Drupal 7. The contexts in this repository extend the contexts of DrupalExtension.

Build Status Scrutinizer Code Quality Latest Stable Version Total Downloads Latest Unstable Version License

Installation

  • Install Composer.
  • Navigate to folder with your Drupal project. Would be better if a project has the similar structure:
/project_name
|-- docroot
|   |-- [drupal installation without any custom files]
|   |-- [...]
|-- [another folders and files e.g. tests, scripts etc.]
|-- [...]
  • Create the composer.json file:
{
  "require": {
    "behat/drupal-propeople-context": "~1.2"
  },
  "config": {
    "bin-dir": "bin/"
  },
  "scripts": {
    "post-install-cmd": "mv bin/bdpc bin/behat"
  }
}
  • Execute the composer install command.
  • Initialize the basic context and configuration by executing the bin/behat --init --url=http://example.com. Also, command can take the dir parameter if the Drupal installation located above current folder. For example bin/behat --init --url=http://project.loc --dir=docroot.
  • Configure the behat.yml if needed.
  • Read the documentation about creating the features.

We are using

Author

Contributors

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2015-02-02