lepisi-pengumuman/vendor/phpunit/dbunit
2017-09-13 09:38:30 +07:00
..
src Included vendor/ to the project 2017-09-13 09:35:32 +07:00
tests Included vendor/ to the project 2017-09-13 09:35:32 +07:00
.travis.yml Included vendor/ to the project 2017-09-13 09:35:32 +07:00
build.xml Included vendor/ to the project 2017-09-13 09:35:32 +07:00
ChangeLog.md Included vendor/ to the project 2017-09-13 09:35:32 +07:00
composer.json Included vendor/ to the project - 2 2017-09-13 09:38:30 +07:00
LICENSE Included vendor/ to the project 2017-09-13 09:35:32 +07:00
manifest.xml Included vendor/ to the project 2017-09-13 09:35:32 +07:00
phive.xml Included vendor/ to the project 2017-09-13 09:35:32 +07:00
README.md Included vendor/ to the project 2017-09-13 09:35:32 +07:00

DbUnit

PHPUnit extension for database interaction testing.

Installation

Composer

If you use Composer to manage the dependencies of your project then you can add DbUnit as a development-time dependency to your project:

$ composer require --dev phpunit/dbunit

PHP Archive (PHAR)

You can download a PHAR of DbUnit:

$ wget https://phar.phpunit.de/dbunit.phar

The example below shows how to configure PHPUnit to load all *.phar files found in a given directory (tools/phpunit.d in this example):

<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/6.0/phpunit.xsd"
         extensionsDirectory="tools/phpunit.d">
</phpunit>