> > For the past 6 months, we've been discussing on creating a standardized > test suite as a tool for XMPP Server developers, and perhaps in the future > for further purposes. There was discussion of having a hosted solution that > can execute scripts from a list of > > --------------------------------------- > > What about using python and xmppy for the test scripts? Python is very easy > to pick up for C programmers (and others)? > > > Python is my go-to language as well, however, the point is to generate simple expect style scripts -- the tests need to avoid doing anything more complex than building xml, expecting, asserting, and sending. These points and counterpoints have been raised and hashed through already (though if you guys want to have it again, that's fine). Arguably, foreach and if statements are overkill as those use cases could be tested by applying a dtd. A simple interpreter is all that is needed to run the suite of tests that anyone can contribute to.
In fact, scratch my foreach/if statements. Building stanzas, sending, expecting with XPath, getting with XPath, and asserting with DTDs and XPath are all that is necessary. -Fritz