MCPcopy Index your code
hub / github.com/Halleck45/BehatWizardBundle

github.com/Halleck45/BehatWizardBundle @v0.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.2 ↗ · + Follow
239 symbols 425 edges 36 files 52 documented · 22%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

BehatWizardBundle

GUI Tool for Behat's users.

This tool helps Product Owner to manager their features. They can: - list theirs features and know the state of each feature - filter features by state, tag... - edit features - add new features

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]
    git=git@github.com: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 generator 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

Core symbols most depended-on inside this repo

id
called by 16
Resources/public/js/tests/qunit/qunit.js
runLoggingCallbacks
called by 11
Resources/public/js/tests/qunit/qunit.js
escapeInnerText
called by 10
Resources/public/js/tests/qunit/qunit.js
extend
called by 10
Resources/public/js/tests/qunit/qunit.js
registerLoggingCallback
called by 7
Resources/public/js/tests/qunit/qunit.js
synchronize
called by 6
Resources/public/js/tests/qunit/qunit.js
sourceFromStacktrace
called by 5
Resources/public/js/tests/qunit/qunit.js
addEvent
called by 5
Resources/public/js/tests/qunit/qunit.js

Shape

Function 179
Method 50
Class 10

Languages

TypeScript75%
PHP25%

Modules by API surface

Resources/public/js/tests/jquery.min.js42 symbols
Resources/public/js/jquery.min.js42 symbols
Resources/public/js/jquery/jquery-1.4.1-and-plugins.min.js36 symbols
Tests/product/features/bootstrap/Hal/contexts/Domain/FeatureContext.php28 symbols
Resources/public/js/tests/qunit/qunit.js27 symbols
Resources/public/bootstrap/js/bootstrap.js21 symbols
Tests/product/features/bootstrap/Hal/contexts/Domain/ScenarioContext.php10 symbols
Resources/public/bootstrap/js/bootstrap.min.js6 symbols
Tests/product/features/bootstrap/Hal/contexts/HalContext.php5 symbols
Form/Type/FeatureType.php4 symbols
Controller/FeatureController.php4 symbols
Tests/product/features/bootstrap/Hal/contexts/System/AuthContext.php2 symbols

For agents

$ claude mcp add BehatWizardBundle \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page