rouffj / howto-bundle
RouffjHowToBundle
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 1
Type:symfony-bundle
Requires
- php: >=5.3.2
- nikic/php-parser: ~0.9
- symfony/framework-bundle: >=2.1,<2.4-dev
This package is not auto-updated.
Last update: 2024-05-06 11:22:06 UTC
README
Project which experiment "Learning By Automatic Testing" concept.
Installation
Step 1: Download RouffjHowToBundle using Composer
Tell composer to add RouffjHowToBundle in your composer.json and download it by running the command:
$ composer.phar require "rouffj/howto-bundle dev-master"
Composer will install the bundle to your project's vendor/rouffj directory.
Step 2: Enable the bundle
Enable the bundle in the kernel:
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Rouffj\Bundle\HowToBundle\RouffjHowToBundle(),
);
}
Step 3: Configure bundle
Add to your app/config/config.yml
in imports
directive:
- { resource: @RouffjHowToBundle/Resources/config/config.yml }
Add to your app/config/routing.yml
:
_howto_bundle:
resource: "@RouffjHowToBundle/Resources/config/routing.yml"
Run tests
$ cd vendor/rouffj/howto-bundle
$ phpunit --testdox
Rouffj\Bundle\HowToBundle\Tests\PhpParser\PhpParser
[x] How to retrieve statement name
[x] How to retrieve statement name supporting many declarations
[x] How to retrieve expression name
...
Rouffj\Bundle\HowToBundle\Tests\Symfony\Security\Voter
[x] How to use voter for request based authorization
...
Rouffj\Bundle\HowToBundle\Tests\Symfony\...