mqm/asset-bundle

There is no license information available for the latest version (dev-master) of this package.

Symfony2 Bundle to store assets in filesystem and database

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Type:symfony-bundle

dev-master 2012-09-20 14:17 UTC

This package is not auto-updated.

Last update: 2024-11-09 13:19:11 UTC


README

To Test a Bundle like being inside a standard Symfony app do the following steps:

How to configure it:
- Copy all the files inside the root Bundle dir

- Edit the file Tests/autoload.php.dist and change the 'Your\\Bundle\\Namespace' according to the Namespace of your bundle, also in the line:
$path = __DIR__.'/../'.implode('/', array_slice(explode('\\', $class), 3)
change the number 3 for the number of slashes +1 of your Namespace, in the previous example it is 3.

- Setup .travis.yml and the rest of files for more specific config for your bundle

What does this do?
- Download the dependencies specified in vendor/vendors.php file

- Run a phpunit command which reads the config of phpunit.xml.dist

- Setup the Symfony2 environment configuration specified in Tests/bootstrap.php

- Setup autoload config specified in Tests/autoload.php

- Run the Tests