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
_______________________________________________
Mailman-Developers mailing list
Mailman-Developers@python.org
https://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to