Does this mean PHP projects should grow up too?

2007-10-10 13:00 来源: web 作者:未知 网友评论 0 条 浏览次数 2
Does this mean PHP projects should grow up too?

The content in Joshua Eichorn post about certification and test automation has been on my mind with the development of WordPress and others. Padraic Brady has been discussing Unit Testing and test automation for a while now. With good reason, it should be part of every project.

I had to learn the hard way, but once you get into the swing of writing tests, it slowly starts to make sense. It makes a lot of sense. Something that bothered me about WordPress were regressions. WTF? Well, if there were unit tests and acceptance tests, the probability of that happening would decrease tremendously. Depending on the quality of the tests of course.

The good news is that WordPress is growing up also and has initial development of functional test automation Shouldn’t every open source PHP project take the step forward in maturity and include the step of writing tests? Cheers for those projects that already have done this.

However, this isn’t the fault of the core developers of these projects. Writing tests may be boring and fun (I would be interested to find out why this is), but the core developers want to use their time to develop awesome and probably slightly broken features. If that is the case and users care, then I think it would be useful to write the tests instead of complaining. If not, then all is well, because users will eventually discover the bug after accessing the branches of code from a much higher level.

Cheers to any project that actually reads this post and follows through, if not already doing so. Although that outcome will most likely be coincidental, in any case. It is unlikely any project would change without user involvement.

上一篇:I’m certifiable    下一篇:Christopher Jone..

相关主题:

网友评论