Home  >  Article  >  Backend Development  >  使用phpunit应该如何初始化数据库

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

WBOY
WBOYOriginal
2016-06-06 20:37:461218browse

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

回复内容:

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

Statement:
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