mqm / asset-bundle
此包最新版本(dev-master)没有可用的许可证信息。
Symfony2 Bundle,用于在文件系统和数据库中存储资源
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: 2024-09-14 12:36:29 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