> For example, with DBD::Pg, a lot of tests depend on having test data in > the database, and having the database connection working and open.
Every one of our *.t and *.phpt files is self-contained. If it needs a connection to the database, it opens one. If it needs test data in the database, it creates it. If it needs to delete the data, then it deletes it. We also have some tests that watch for leftover bad data (customers that have a special status of "Z" are ones that only exist for testing, so if they're in the DB, we know that something didn't clean up) xoa -- Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance