使用phpunit应该如何初始化数据库

WBOY
Release: 2016-06-06 20:37:46
Original
1177 people have browsed it

想预先保存好.sql文件,每次测试的时候,先drop掉数据库再source进去~

回复内容:

想预先保存好.sql文件,每次测试的时候,先drop掉数据库再source进去~

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!