PDA

View Full Version : pTest: PHP Unit Tester in 9 Lines Of Code


paulj
08-13-2007, 03:01 AM
I was recently working on a command line PHP tool, and didn’t have easy access to our normal PHP unit testing framework built around SimpleTest. After a few lines of non-test-driven-development, I started to freak out a bit - I guess I’ve fallen for the view that if code doesn’t have tests, it’s broken. I [...]
http://www.pheedo.com/img.phdo?i=b1f1f6ee311381f7f9fd9d08cbde3290