zf2-boiler-app / app-test
ZF2 BoilerApp tests tools
Installs: 241
Dependents: 6
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/zf2-boiler-app/app-test
Requires
- php: >=5.4
- doctrine/data-fixtures: dev-master
- doctrine/orm: >=2.4
- neilime/zf2-deploy-module: dev-master
- phpunit/phpunit: *@stable
- zendframework/zendframework: dev-master
This package is auto-updated.
Last update: 2025-10-24 06:21:48 UTC
README
NOTE : This module is in heavy development, it's not usable yet. If you want to contribute don't hesitate, I'll review any PR.
Introduction
ZF2 BoilerApp "Test" module is a Zend Framework 2 module that provides tools to test modules of ZF2 BoilerApp
Requirements
- Zend Framework 2 (latest master)
Installation
Main Setup
By cloning project
- Clone this project into your ./vendor/directory.
With composer
- 
Add this project in your composer.json: "require-dev": { "zf2-boiler-app/app-test": "dev-master" } 
- 
Now tell composer to download ZF2 BoilerApp Test module by running the command: $ php composer.phar update 
Post installation
- 
Enabling it in your TestConfig.php.distfile.return array( 'modules' => array( // ... 'BoilerAppTest', ), // ... ); 
- 
Create the Bootstrap.phpfilenamespace MyModuleTest; error_reporting(E_ALL | E_STRICT); chdir(dirname(__DIR__)); if(is_readable($sBoilerAppTestBootstrapPath = __DIR__.'/../vendor/zf2-boiler-app/app-test/src/BoilerAppTest/AbstractBootstrap.php'))include $sBoilerAppTestBootstrapPath; if(!class_exists('BoilerAppTest\AbstractBootstrap'))throw new \RuntimeException('Unable to load BoilerAppTest Bootstrap. Install required libraries through `composer`'); class Bootstrap extends \BoilerAppTest\AbstractBootstrap{} Bootstrap::init(); 
Features
####Bootstraping
- Application and test configuration autoloading
- Service manager accessor
####Doctrine
- Database auto creator
- Fixture autoloading