Skip to content
GUI Tool for Behat's users and Product Owners
JavaScript PHP CSS
Find file
Latest commit 35fe5a4 Mar 21, 2014 @Halleck45 Update README.md
Failed to load latest commit information.
Controller user can know the state of each scenario Jul 23, 2012
DependencyInjection Changes in DI about Behat Jul 21, 2012
Form/Type update form to 2.1 requirements Feb 5, 2013
Resources Missing bracket in editing.js Mar 7, 2013
Specifications/product
.gitignore Behat (in test suite) is initialized Jul 26, 2012
.travis.yml branch master cannot be tested by travis now Oct 5, 2012
HalBehatWizardBundle.php Framework is configured, default screen is displayed, previous js fil… Jul 21, 2012
README.md Update README.md Mar 21, 2014
composer.json Add behat dependency Apr 15, 2013

README.md

BehatWizardBundle

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
Something went wrong with that request. Please try again.