Skip to content
This repository has been archived by the owner on May 25, 2020. It is now read-only.

Latest commit

 

History

History
63 lines (43 loc) · 1.83 KB

README.md

File metadata and controls

63 lines (43 loc) · 1.83 KB

#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