DBIx-Admin-DSNManager
view release on metacpan or search on metacpan
lib/DBIx/Admin/DSNManager.pm view on Meta::CPAN
The default is 0 - do not use for testing.
=item o An implicit DSN
For cases like SQLite, testing code can either look in dsn.ini, or manufacture a temporary directory and file name
for testing.
This leads to a new question: If the testing code finds a DSN in dsn.ini which is marked use_for_testing = 0,
should that code still generate another DSN for testing? My suggestions is: Yes, since the one in dsn.ini does
not indicate that all possible DSNs should be blocked from testing.
=back
=head1 The Format of dsn.ini
On disk, dsn.ini is a typical INI-style file. In RAM it is a hashref of config options. E.g.:
config => {'Pg.1' => {dsn => 'dbi:Pg:dbname=test', ...}, 'Pg.2' => {...} }
where config is the name of the module getter/setter which provides access to the hashref.
( run in 1.312 second using v1.01-cache-2.11-cpan-49f99fa48dc )