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

Wayne Werner waynejwerner at gmail.com
Thu Dec 10 17:20:48 CET 2009


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


-- 
To be considered stupid and to be told so is more painful than being called
gluttonous, mendacious, violent, lascivious, lazy, cowardly: every weakness,
every vice, has found its defenders, its rhetoric, its ennoblement and
exaltation, but stupidity hasn’t. - Primo Levi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20091210/03b33333/attachment.htm>


More information about the Tutor mailing list