Download the PHP package reioto/zend-db-testcase without Composer
On this page you can find all versions of the php package reioto/zend-db-testcase. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package zend-db-testcase
ZendDbTestCase
This library is Database TestCase using ZendFramework2 for PHPUnit
Installation via composer
$ php composer.phar require "reioto/zend-db-testcase:*"
Usage
class fooTest extends \Zend\Db\TestCase
{
public function getDataSet()
{
return $this->createFlatXMLDataSet('sample.xml');
}
/**
* @return array Zend\Db\Adapter\Adapter parameters
*/
protected function getDbConfig()
{
return array('username'=>'dbuser',
'password'=> 'dbpassword',
'dbname'=>'dbname',
'driver'=>'Pdo_Mysql'
);
}
public function testSample()
{
$this->assertEquals(true, true);
}
}
All versions of zend-db-testcase with dependencies
PHP Build Version
Package Version
Requires
phpunit/phpunit Version
>=3.7
phpunit/dbunit Version ~1.2
zendframework/zend-db Version ~2.0
phpunit/dbunit Version ~1.2
zendframework/zend-db Version ~2.0
The package reioto/zend-db-testcase contains the following files
Loading the files please wait ...