[rspec-users] unusual challenges speccing external software
gilesb at gmail.com
Thu Jan 17 12:33:53 EST 2008
> Giles - I think you'll find more people with more experience in this
> area on the testdrivendevelopment at yahoogroups.com list. That said, and
> only having glanced at your mail, here's a thought or two:
> The TDD line on this, as I understand it, is that you should write
> your main application code exactly as you want to write it, imagining
> that you had the perfect API to talk to and stubbing that API in your
> tests. Then, when hooking up to the real services, you write thin
> adapters that simply convert messages to the right format. I *think*
> that's what you said you are doing.
Yes. Sorry about the Great American Novel - that is pretty much what I'm doing.
More information about the rspec-users