In article <[EMAIL PROTECTED]>, Andy Lester <[EMAIL PROTECTED]> wrote:
> On Jun 19, 2007, at 10:52 AM, Mike Malony wrote: > > > So I'm working my project, and I've got one other more junior coder > > with > > me. > > > > Has anyone tried writing test files as part of their spec's? > > > > An overview document would also be needed, and some time walking > > through the > > expected testing. But it sure would be setting clear expectations. > > I highly recommend writing your API POD, then the tests, For these things, I tend to write the tests first, because that shows me what I want the API to be. The tests don't have to be the final product, but writing example code brings out all the things you didn't think of when you dreamt up the API.