With Twitter down for most of the evening I decided to revert back to old fashioned coding and research for an evening’s entertainment. Test Driven Development (TDD) is something that addresses so many limitations in web development. Thanks to Wapple, I got the amazing opportunity to attend a conference in Boston, USA over a year ago. The main focus of the talks were Agile Development, Continuous Integration & Xtreme Programming (XP) practices as well as TDD. Jason from Smart Bear software gave a great talk on Pair Programing and Code Review. I took a lot away from those few days and the ideologies presented also helped me decide to switch from developing an in-house PHP OO framework to using CakePHP. I strive to adopt as many of the approaches above at MindBlip to help the team become better developers with the aim of bug-free code. Is there such a thing?
With the stable release of CakePHP 1.3, the test suite is fantastic. Introduced in 1.2, it adds real power to any web development culture and test driven development should definitely be reviewed by every development house out there. If you’re not at least aware of the advantages and limitations then I have compiled a short list of great blogs I have used to advance my own understanding. Most are CakePHP focussed, however, SimpleTest works for PHP so can be used by any PHP developer. There are other Test Suite available for any self respecting language
Introduction To Unit Testing by Debuggable
CakePHP Manual – Testing Chapter – Covers Unit Testing & Web Testing
Why everyone should write tests? – CakeBaker (Old, Old article)
12 Reasons To Get Addicted To CakePHP – It’s all about the Community, give something back
CakePHP 2.0 looks like it’s switching from SimpleTest to PHPUnit – Mark Story explains all!
That’s my 10 pence worth, hope it’s helpful