2017 © Pedro PelĂĄez
 

symfony-bundle behat-wizard-bundle

This bundle provides a graphical interface to manage your features

image

halleck45/behat-wizard-bundle

This bundle provides a graphical interface to manage your features

  • Friday, March 21, 2014
  • by Halleck
  • Repository
  • 17 Watchers
  • 99 Stars
  • 530 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 26 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

BehatWizardBundle

Dependencies, (*1)

GUI Tool for Behat users., (*2)

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, (*3)

Deprecated

This tool is deprecated. Please prefer the standalone BddWizard, (*4)

Demo

You can see a demo here, (*5)

Preview

Listing, (*6)

Edit feature, (*7)

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:, (*8)

# 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:, (*9)

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:, (*10)

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

If you use a configuration file for Behat, you can use this configuration:, (*11)

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:, (*12)

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

Translation

Remember to active the translator:, (*13)

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

 Use it !

Just go to /app_dev.php/behat/wizard/list, (*14)

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, (*15)

twig:
  cache: false

The Versions

21/03 2014

dev-master

9999999-dev

This bundle provides a graphical interface to manage your features

  Sources   Download

MIT

The Requires

 

behat

30/07 2012

v0.2

0.2.0.0

This bundle provides a graphical interface to manage your features

  Sources   Download

MIT

The Requires

 

behat

21/07 2012

v0.1

0.1.0.0

This bundle provides a graphical interface to manage your features

  Sources   Download

MIT

The Requires

 

behat