Address: net. tutsplus. comsessionstest-driven-php this series of articles introduces some basic concepts of test-driven development, automated testing, and how to practice in PHP. The usage of PHPUnit and useracceptancestests with Selenium are described in detail. We also introduced Mockery and PHPUnit
Http://net.tutsplus.com/sessions/test-driven-php/ this series of articles introduces some basic concepts of test-driven development, automated testing and how to practice in PHP. PHPUnit usage and user acceptances tests with Selenium are introduced in detail. We also introduced Mockery and PHPUnit
Address: http://net.tutsplus.com/sessions/test-driven-php/
This series of articles introduces some basic concepts of test-driven development, automated testing, and how to practice in PHP. PHPUnit usage and user acceptances tests with Selenium are introduced in detail. We also introduced Mockery and compared it with PHPUnit's mocking framework horizontally.
After reading this series of tutorials for a while, I feel that the biggest benefit of writing test code is to ensure the reliability of the Code and the convenience of maintenance. Imagine how to ensure that the entire system is correct after six months or more of reconstruction or bug fixing for a large project?
Human flesh? NO !!! At this time, the test code that I thought was time-consuming and laborious to write can show its power, and the code can be clearly displayed when I ran the test code.
Note: videos in this article are stored on youtube. You need to go to the wall to watch videos...