Gos Fixture Bundle
, (*1)
This project is currently in development, please take care., (*2)
Installation
You need to have composer to install dependencies., (*3)
{
"require": {
"gos/fixture-bundle": "{last stable version}"
}
}
Then run the command on the root of your projectcomposer update
, (*4)
Add this line in your AppKernel.php
, (*5)
$bundles = array(
//Other bundles
new Gos\Bundle\FixtureBundle\GosFixtureBundle(),
);
Configuration
That define we must looking for your yaml data file, you can add several path., (*6)
gos_fixture:
directories:
- 'src/*/*/DataFixtures/YML/'
You can also see
Running the tests:
PHPUnit 3.5 or newer together with Mock_Object package is required. To setup and run tests follow these steps:, (*7)
- go to the root directory of fixture
- run: composer install --dev
- run: phpunit
License
The project is under MIT lisence, for more information see the LICENSE file inside the project, (*8)