[Mailman-Developers] How can I run the REST tests against live servers?
Stephen J. Turnbull
stephen at xemacs.org
Tue Dec 16 14:08:07 CET 2014
Andrew Stuart writes:
> Thanks for the guidance - I’ll have to admit I don’t know much
> about how to do such things right so the more guidance you are
> willing to give the better. Most of my code so far has been for me
> and no-one else so my next task is to learn how to write tests
> properly.
Well, since you got the existing tests to run against live servers,
I'm pretty impressed. It certainly proves the concept"
It might be worthwhile to provide a guide on using them as the last
step of setting up a server, though I'm not sure how easy that would
be (the easiest thing is to say "edit the code", but that's not a
great way to impress new users).
Did they leave any "residue" in the databases that you can detect?
(That's the most important convenience of a one-shot "test server" --
you just tear it down and throw it away.) On a live server that could
be bad. Eg, if a test creates a database user with a scripted
password and leaves it behind, anybody that knows the script can
access (some part of) the database!
Steve
More information about the Mailman-Developers
mailing list