How to use PHP for TDD development, what are your experiences? PHP Common framework Zend or YII, how to do TDD development? Do you simply not write tests or have a more standardized process?
Reply content:
How to use PHP for TDD development, what are your experiences? PHP Common framework Zend or YII, how to do TDD development? Do you simply not write tests or have a more standardized process?
If you use Yii, directly read the manual Ah, there is a unit testing section to explain how to do unit testing, with Zend, the manual is also a description of the unit testing, which just explains how to do unit testing, but does not say that you should do unit testing
In fact, at first you have no experience, I think as long as the unit is not a line of code, you can do unit testing, do more, you know that it is necessary to do, those who do not need to do
In addition to do TDD development, is to have a write unit test of the heart, and not with some norms to force, force TDD, in addition to delay time, there is no benefit