Why should I be using testing frameworks in PHP? -


I have recently introduced PHP testing facilities such as PHPunit and SimpleTest with my IDE choice (eclipse my for). After goguling this topic, I still understand the pros and cons of using these test frameworks to speed up the development of difficult times.

If someone could explain this to me at a more basic level, then I really appreciate it. I'm using PHP5 for notice.

Thanks a lot!

Not a big fan of the unit test: I'm not saying that they are worthless, they Can be useful - in some situations

The thing is that some people believe what they can do with unit testing.

Just remember two things: 1) The unit test can not change the option of beta testing. A bad interface remains bad interface, even if the code behind it works. (Eg: if a button is attached, it does not really matter whether the function is attached to it or not) 2) Need to be written in the unit test. If you are developing a small project alone or in a small team, then maybe you can use that time to improve your code.

And take a look at this (please read it with a pinch of salt, it is clear that the way the author writes things, stimulates it):


Comments