Re: Server and database testing

2008-03-27 Thread Ovid
--- Michael G Schwern [EMAIL PROTECTED] wrote: I'm about to do a sort of brute-force approach: * create and populate a database called projectname_$user_$pid * find an open port * write a config file with the port and database to use * fire up the server with that config * run the tests

Server and database testing

2008-03-26 Thread Michael G Schwern
I have some work to write tests for a server that talks to a database. This means creating a database and firing up a server for testing purposes, and then dropping the database and shutting down the server at the end. This also means making sure that multiple instances of the test can run on