¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

[TDD] Re: Unit tests and parameter validation


 

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" <d.p.parsons@...> 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