[Tutor] More on unit testing - tests for external data...

spir denis.spir at free.fr
Thu Dec 10 18:36:56 CET 2009


Wayne Werner <waynejwerner at gmail.com> dixit:

> On Wed, Dec 9, 2009 at 6:15 PM, Alan Gauld <alan.gauld at btinternet.com>wrote:
> 
> >
> > Remember, in testing you are not trying to prove it works but rather to
> > demonstrate that it doesn't!
> >
> 
> So in that way it's a bit like the the scientific method (or exactly like)?
> You create a hypothesis and design tests to invalidate your hypothesis...
> and if they fail to invalidate you may have a valid hypothesis. Simply
> replace hypothesis with program and you get the testing procedure?
> 
> -Wayne
> 
> 

programming is modelizing -- like a scientist's job

Denis
________________________________

la vita e estrany

http://spir.wikidot.com/


More information about the Tutor mailing list