GithubHelp home page GithubHelp logo

karolsojko / behatwizardbundle Goto Github PK

View Code? Open in Web Editor NEW

This project forked from halleck45/behatwizardbundle

0.0 2.0 0.0 666 KB

GUI Tool for Behat's users and Product Owners

Home Page: http://halleck45.github.com/BehatWizardBundle/

PHP 8.43% Shell 0.14% JavaScript 91.06% Perl 0.37%

behatwizardbundle's Introduction

BehatWizardBundle

Build Status

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

Demo

You can see a demo here

Preview

Listing

Edit feature

Installation

  1. Add the bundle and Behat to your project
  2. Enable the bundle
  3. Configure paths of behat features
  4. Enable translator
  5. Assetics

Add the bundle to your project

# deps
[BehatWizardBundle]
    git=git://github.com/Halleck45/BehatWizardBundle.git
    target=/bundles/Hal/Bundle/BehatWizard
[BehatToolsBundle]
    git=git://github.com/Halleck45/BehatToolsBundle.git
    target=/bundles/Hal/Bundle/BehatTools
[gherkin]
    [email protected]:Halleck45/Gherkin.git
    target=/behat/gherkin
[behat]
    git=git://github.com/Behat/Behat.git
    target=/behat/behat

Enable the bundle

# app/autoload.php
'Hal\\Bundle'      => __DIR__.'/../vendor/bundles',
'Behat\\Gherkin'   => __DIR__.'/../vendor/behat/gherkin/src',
'Behat\\Behat'     => __DIR__.'/../vendor/behat/behat/src',
'Behat\\Mink'      => __DIR__.'/../vendor/behat/mink/src',

# app/AppKernel.php
new Hal\Bundle\BehatTools\HalBehatToolsBundle(),
new Hal\Bundle\BehatWizard\HalBehatWizardBundle(),

Activate routes

Edit your routing configuration:

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

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

Assetics

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

Translation

Remember to active the translator:

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

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

behatwizardbundle's People

Contributors

agemmell avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.