Re: Re: Unit tests and parameter validation
Avi Kessner <[email protected]>
| Newsgroups | gmane.comp.programming.test-driven-development |
|---|---|
| Message-ID | <CAGEhWpE_28cF3XNLV8fvt_Et+Zp9DBPEZH7MT_V-GfxsY2+0-w@mail.gmail.com> |
I will be honest. Except for the most basic of VOs I don't know how you can be sure of what is 'inside' and what is 'outside'. Sometimes even your GUI becomes a component for a wrapper. On 20 Oct 2013 09:00, "Parsons, David" <[email protected]> wrote: > ** > > > An interesting discussion. I must admit that it hadn't really occurred to > me that much parameter validation could be a complete waste of time, so > thanks for the insight. > > It does seem to me that even if you develop 'inside out' you will > sometimes need to work 'outside in', for example if you are using a mock, > or if you apply refactorings that extract classes or methods. > > Dave Parsons > > > >