When is unit-testing bad?

Edvard Majakari edvard+web at majakari.net
Thu Jul 3 14:47:56 CEST 2003


On Wed, 2 Jul 2003, ageron at HOHOHOHOvideotron.ca wrote:

> threads?  A lot of projects would be better off not using them, I agree
> with that, but some projects just can't do without them!  Web sites are
> also horrible to automatically unit test.  In all those cases, I much
> prefer having a human being go out and do the unit tests manually.

Which reminds me: I've seen two web unit testing frameworks, one which was
by the originial PyUT author, and the other that seemed more complete,
though not so well documented either.

I've fancied developing one myself - so I'd like to know what kind of
things should I take into account before trying such a largish project?  I
know that it is hard to test Web-based applications, for one thing - the
user doesn't usually type GET parameters to the URL, while doing so could
be the only possible way to do automated web site testing. Ideas/comments?

-- 
# Edvard Majakari		Software Engineer
# PGP PUBLIC KEY available    	Soli Deo Gloria!

$_ = '456476617264204d616a616b6172692c20612043687269737469616e20'; print
join('',map{chr hex}(split/(\w{2})/)),uc substr(crypt(60281449,'es'),2,4),"\n";





More information about the Python-list mailing list