Re: Unit tests and parameter validation

Michal Svoboda <[email protected]>
Newsgroups gmane.comp.programming.test-driven-development
Message-ID <[email protected]>
Keith Ray wrote:
> If "outside" is GUI/user and "inside" is using a framework or
> database, then there can be a mis-match, when you find out the
> database needs info not yet provided by the GUI/user, or that the
> framework requires asynchronous behavior when the GUI assumes simple
> synchronous behavior.

In that case you just got pwned by a framework. Ouch.

Adding to what I said before, the in/out view blurs if you create thin
verticals, which you should, but even then I prefer going from the Big
Test (which really isn't that big at first).

Michal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.