Are there any good tutorials out there for unit testing with ZF? I really can't find anything that walks through setting up ZF to do unit testing that doesn’t assume you already know a lot about unit testing. I can only find some project specific code examples that I don't find particularly adaptable to my needs. I'm not necessarily interested in a bunch of automation.
Actually what I may need is something even more basic in terms of explaining approaches to unit testing. For example, how do I test a model without it actually writing to the database? I don't want to rewite my model just to test it, of course, because I want to actually test my model, not some hacked together simulation of my model. I'm not sure how one goes about setting up a test environment like this. I think if I can get a grasp of the basics and approaches to testing, I can figure most of the rest out myself. HELP!! :-)
Seth
没有评论:
发表评论