How does web php write the customization test?

how can I write an easy customization test for a web written in php
?
and what is this principle?
you may need to automate the test recently


use PHPunit to do unit test, if the unit test can cover the full online run before the unit test can basically lock whether there is a problem, that is, it can do automated testing, the whole idea is mainly around:

< H1 > based on the idea of data flow, that is, the program consists of three parts: "input, processing logic, and output" < / H1 >

verify whether the data input and output is what you want, and you can basically determine whether the program is correct. Let me give you a link:
http://www.phpunit.cn/

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37f95-2c105.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37f95-2c105.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?