Test-driven development (TDD) ForPHP

Source: Internet
Author: User
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...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.