Darren New wrote: > SJS wrote: >>> Some test driven development fan (TDD!) at Pycon writes his *tests* >>> before >>> writing any code. I haven't gone that far yet. >> >> I've tried that. It's difficult. > > I find that for the type of stuff I write, it's virtually impossible to > do, also. "Here, take this real-time data feed from this company, and > match it against those two real-time data feeds from different > companies, using the software from company number four." How do you > write tests for such a thing, without reimplementing four companies > worth of code? >
Can you not create test data streams. Might that not be something you end up doing anyway -- maybe recording some live data and reusing it? Regards, ..jim -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg
