windstep/dbunit
Composer 安装命令:
composer require --dev windstep/dbunit
包简介
PHPUnit extension for database interaction testing
关键字:
README 文档
README
Hello there! In my work, I have to use dbunit, cause we do have lots of tests using it. So, I've done the job to update this extension to work with all new technologies, like phpunit 8 and higher.
Original 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>
统计信息
- 总下载量: 30
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2021-02-10