develooper Front page | perl.qa | Postings from October 2008

Generic test database

Thread Next
From:
Philippe Bruhat
Date:
October 8, 2008 01:56
Subject:
Generic test database
Message ID:
20081008085627.GC7881@plop
Hi,

Is there any way for a test suite to use the preferred database of a
tester? Something like a TEST_DATABASE_DSN, TEST_DATABASE_USERNAME,
TEST_DATABASE_PASSWORD triplet that CPAN testers could set to enable
testing on different databases?

A colleague of mine is working on a very interesting module, but even
though he could release a test suite relying on sqlite, I thought it
would be better to use any configured database that was available on the
tester's system.

Is there a recommended way to do that?

-- 
 Philippe Bruhat (BooK)

 The greatest enemy is the one you do not know.  (Moral from Groo #8 (Image))

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About