tsslabs/behat-builder-bundle

Behat builder interface for building and maintaining scenarios in a Symfony2 project

Installs: 68

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Language:JavaScript

Type:symfony-bundle

dev-master 2014-04-11 15:49 UTC

This package is not auto-updated.

Last update: 2024-04-13 13:43:57 UTC


README

Maintaining Behat features of a Symfony2 project directly in the browser

Installation instructions:

  • Easiest way to install is via composer, composer.phar require tsslabs/behat-builder-bundle

    OR

    add those lines to ./composer.json:

    ```
    "require": {
      ...
      "tsslabs/behat-builder-bundle": "dev-master"
    }
    ```
    

    and then run composer.phar install

  • Then enable the bundle in ./app/AppKernel.php:

    public function registerBundles()
    {
        $bundles = array(
                ...
                new TSS\BehatBuilderBundle\TSSBehatBuilderBundle(),
            );
    }
    

- Add routing:
      ```
  tss_behat_builder:
     resource: "@TSSBehatBuilderBundle/Controller/"
     type:     annotation
     prefix:   /
      


- Symlink assets: 

      ```
    php app/console assets:install --symlink web
      ```
      
- Dump assetic: 

      ```
    php app/console assetic:dump web
      ```

- Enable the bundle in assetic:
      ```
    assetic:
        (...)
        bundles:        [ TSSBehatBuilderBundle ]
      ```

@TODO:
 - add lexical parser and autocompleter

Enjoy :)