gos/fixture-bundle

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.
This package is abandoned and no longer maintained. No replacement package was suggested.

Fixture bundle, fixture, bundle, fixture tool, doctrine, orm

dev-master / 1.0.x-dev 2014-10-01 15:40 UTC

This package is auto-updated.

Last update: 2020-08-17 21:56:46 UTC


README

#Gos Fixture Bundle#

Build Status Scrutinizer Code Quality Code Coverage

This project is currently in development, please take care.

Installation

You need to have composer to install dependencies.

{
    "require": {
        "gos/fixture-bundle": "{last stable version}"
    }
}

Then run the command on the root of your projectcomposer update

Add this line in your AppKernel.php

$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.

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:

  • 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