>What do people think of this? What does DC think of this? Can I
>go ahead and develop it in this direction?
For our XP endeavors, we've developed a testing framework we call
SimpleTest, which tests our systems using HTTP requests. Tests are
written in XML, along the lines of:
<?xml version="1.0" ?>
<!DOCTYPE testrun SYSTEM "../multiple_test.dtd">
<testrun description="Tests for read-only form">
<description>This is a very simple tests</description>
... various <condition> blocks to test if the
returned HTML contains or doesn't contain stuff,
or the return code was xxx
... you can have lots of tests in a test run
You can set authentication for a test run, and (crudely) pass
variables from one test to another.
Tests are stored as XML files and we use CVS to control them.
Our feeling is we will probably need to use PyUnit at some point, but
for the moment this is serving our needs OK. Using this we have been
able to unit test most of the bits of the Zope applications we write,
including where those applications link into other web-accessible
systems. The framework is written in Python and we've been adding
bits to it as needed.
--------- My opinions are my own, NIP's opinions are theirs ----------
Simon J. Coles Email: [EMAIL PROTECTED]
New Information Paradigms Work Phone: +44 1344 753703
http://www.nipltd.com/ Work Fax: +44 1344 753742
=============== Life is too precious to take seriously ===============
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -