Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 11 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
PHPUnit 手册中有一个关于数据库测试的章节:
以及 B. Eberlei 使用 PHPUnit 进行数据库测试的终极指南http://www.phpunit.de/manual/dbunit.txt(gone)还有 PHPUnit 的作者 Sebastian Bergmann 的博客文章主题(尽管是 2008 年):使用 PHPUnit/DbUnit 测试 PHP/MySQL 应用程序(已删除)DbUnit 扩展的作者 Mike Lively 的一些甚至较旧的博客文章可以在
最近的教程 (2010) 位于 Matthew Turland 的博客中:
您还可以访问 #phpunit on Freenode IRC 以获得官方支持。
There is a chapter to Database testing in the PHPUnit manual:
And B. Eberlei's Ultimate Guide to DB Testing with PHPUnithttp://www.phpunit.de/manual/dbunit.txt(gone)There is also a Blogpost by PHPUnit's author Sebastian Bergmann on the topic (2008 though):Testing PHP/MySQL Applications with PHPUnit/DbUnit(removed)Some even older blog posts by Mike Lively, the author the DbUnit extension can be found at
A more recent tutorial (2010) would be in Matthew Turland's Blog:
You can also visit #phpunit on Freenode IRC to get official support.