halleck45/behat-wizard-bundle 问题修复 & 功能扩展

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

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

halleck45/behat-wizard-bundle

Composer 安装命令:

composer require halleck45/behat-wizard-bundle

包简介

This bundle provides a graphical interface to manage your features

关键字:

README 文档

README

Dependencies

GUI Tool for Behat users.

This tool helps Product Owners to manage their features. They can:

  • list their features and know the state of each feature
  • filter features by state, tag, etc...
  • edit features
  • add new features

Deprecated

This tool is deprecated. Please prefer the standalone BddWizard

Demo

You can see a demo here

Preview

Listing

Edit feature

Installation

### Update your composer file:

"require-dev": {
    "halleck45/behat-wizard-bundle": "dev-master"
}

Enable the bundle

# app/AppKernel.php
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
    // ...
    $bundles[] = new Hal\Bundle\BehatWizard\HalBehatWizardBundle();
}

Activate routes

Edit your routing configuration:

# app/config/routing.yml
HalBehatWizard:
  resource: "@HalBehatWizardBundle/Resources/config/routing.yml"
  prefix: /

Configure paths of behat features

Add the following lines to your config.yml file:

parameters:
  behat.paths.base: /path/to/project/
  behat.paths.features: /path/to/project/features
  behat.paths.reports: /path/to/project/reports

Note that you need to run Behat with the junit formater parameter, in order to generate reports in JUnit format:

$ behat -f junit --out /path/to/project/reports

If you use a configuration file for Behat, you can use this configuration:

formatter:
  name:                   pretty,junit
  parameters:
    output_path:          null,build/behat

Assetics

php app/console assets:install --symlink web
php app/console assetic:dump web

And edit your config file:

assetic:
    (...)
    bundles:        [ HalBehatWizardBundle ]

Translation

Remember to active the translator:

# app/config/config.yml
framework:
  translator: { fallback: en }

### Use it !

Just go to /app_dev.php/behat/wizard/list

Common bugs

The list of features is never updated

-> it's probably due to Twig's cache. Add the following rule to your config.yml

twig:
  cache: false

统计信息

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

GitHub 信息

  • Stars: 90
  • Watchers: 17
  • Forks: 20
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2012-09-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固