Old drivers,
php中一些和数据库操作紧密相关的逻辑方法,
实际结果体现在数据库中,方法的返回值并不能体现内部的逻辑
如何对其进行自动化的单元测试phpunit。
A good programmer must be able to make good unit tests
高洛峰2017-05-24 11:33:04
It is reflected in the database, then test whether the data in the database is correct. .
phpunit also has database testing https://phpunit.de/manual/cur...