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
dev-master
2012-09-20 14:17 UTC
Requires
- php: >=5.3.0
- symfony/framework-bundle: 2.*
Suggests
- symfony/twig-bundle: 2.*
This package is not auto-updated.
Last update: 2026-02-28 19:05:15 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