Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

sebastianbergmann/dbunit

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
April 30, 2018 07:01
October 19, 2017 15:27
February 7, 2018 07:43
February 7, 2018 07:47
February 7, 2018 07:42
October 2, 2018 11:37
January 6, 2017 09:39
October 19, 2017 15:23
October 18, 2017 12:23
January 6, 2017 08:45

This extension is no longer maintained

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>