web site test framework? in python?

Michal Wallace (sabren) sabren at manifestation.com
Thu Apr 27 17:49:21 EDT 2000


On Thu, 27 Apr 2000 tiddlerdeja at my-deja.com wrote:

> I'd also like to code the testing framework in Python.
> 
> Again, has anyone any experience in this testing websites arena?

Well, there's http://pyunit.sourceforge.net/ .. I't s a pretty good
test suite manager.


> I was thinking of having JSP or ASP pages check for a testing variable
> (registry or environment). If pages were called in test mode they would
> return XML to be parsed which would can then be used as input data to
> call the page again (this way you could store the test data with the
> page you are testing). The XML would also contain the desired correct
> data to check against to ensure the page is working correctly.

Perhaps you should stick all this code in an object so you don't have
to complicate your tests by communicating via http. You can set it
up so you just pass objects around..

Cheers,

- Michal
-------------------------------------------------------------------------
http://www.manifestation.com/         http://www.linkwatcher.com/metalog/
-------------------------------------------------------------------------





More information about the Python-list mailing list