2017 © Pedro Peláez
 

library zend-db-testcase

Zend DB TestCase for DbUnit

image

reioto/zend-db-testcase

Zend DB TestCase for DbUnit

  • Friday, March 27, 2015
  • by reioto
  • Repository
  • 1 Watchers
  • 0 Stars
  • 101 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

ZendDbTestCase

This library is Database TestCase using ZendFramework2 for PHPUnit, (*1)

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);
    }
}

The Versions

27/03 2015

dev-master

9999999-dev

Zend DB TestCase for DbUnit

  Sources   Download

BSD-3-Clause

The Requires

 

framework zf2 unittest dbunit

27/03 2015

1.1.1

1.1.1.0

Zend DB TestCase for DbUnit

  Sources   Download

BSD-3-Clause

The Requires

 

framework zf2 unittest dbunit

25/03 2015

1.1.0

1.1.0.0

Zend DB TestCase for DbUnit

  Sources   Download

BSD-3-Clause

The Requires

 

framework zf2 unittest dbunit

20/07 2014

1.0

1.0.0.0

Zend DB TestCase for DbUnit

  Sources   Download

BSD-3-Clause

The Requires

 

framework zf2 unittest dbunit

21/02 2014

0.1

0.1.0.0

Zend DB TestCase for DbUnit

  Sources   Download

BSD-3-Clause

The Requires

 

framework zf2 unittest dbunit