Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sebastianbergmann/dbunit
DbUnit port for PHP/PHPUnit.
https://github.com/sebastianbergmann/dbunit
Last synced: about 2 months ago
JSON representation
DbUnit port for PHP/PHPUnit.
- Host: GitHub
- URL: https://github.com/sebastianbergmann/dbunit
- Owner: sebastianbergmann
- License: other
- Archived: true
- Created: 2010-05-08T17:00:22.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2018-10-02T09:37:27.000Z (about 6 years ago)
- Last Synced: 2024-09-21T10:02:50.920Z (about 2 months ago)
- Language: PHP
- Homepage: https://phpunit.de/
- Size: 1.22 MB
- Stars: 225
- Watchers: 18
- Forks: 186
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
[This extension is no longer maintained](https://github.com/sebastianbergmann/dbunit/issues/217)
# DbUnit
[PHPUnit](https://phpunit.de/) extension for database interaction testing.
## Installation
### Composer
If you use [Composer](https://getcomposer.org/) 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
```