Main > Programming > Libraries >

Test::TempDatabase 0.1

Test::TempDatabase 0.1

Sponsored Links

Test::TempDatabase 0.1 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.011 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 899
Date added: 2007-05-08
Publisher: Boris Sukholitko

Test::TempDatabase 0.1 description

Test::TempDatabase is a Perl module for temporary database creation and destruction.

SYNOPSIS

use Test::TempDatabase;

my $td = Test::TempDatabase->create(dbname => temp_db);
my $dbh = $td->handle;

... some tests ...
# Test::TempDatabase drops database

This module automates creation and dropping of test databases.

USAGE

Create test database using Test::TempDatabase->create. Use handle to get a handle to the database. Database will be automagically dropped when Test::TempDatabase instance goes out of scope.

$class->become_postgres_user

When running as root, this function becomes different user. It decides on the user name by probing TEST_TEMP_DB_USER, SUDO_USER environment variables. If these variables are empty, default "postgres" user is used.
create

Creates temporary database. It will be dropped when the resulting instance will go out of scope.

Arguments are passed in as a keyword-value pairs. Available keywords are:
dbname: the name of the temporary database.

rest: the rest of the database connection string. It can be used to connect to a different host, etc.

username, password: self-explanatory.

Test::TempDatabase 0.1 Screenshot

Advertisements

Test::TempDatabase 0.1 Keywords

Bookmark Test::TempDatabase 0.1

Hyperlink code:
Link for forum:

Test::TempDatabase 0.1 Copyright

WareSeeker periodically updates pricing and software information of Test::TempDatabase 0.1 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Test::TempDatabase 0.1 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Zonestats create an RRD database with the values of CPU and memory (RSS) usage per Solaris 10 zone. Free Download
Dataxi project is a collection of tools for developing form-based information systems. Free Download
HTML::Adsense is a Perl module that can create adsense widgets easily. Free Download
mod_auth_sanba allows you use Windows user database for user password authentication and ndbm database. Free Download
Mudbag is a Web-based multi-user database system that allows non-programmers to build applications. Free Download
Simput is a group of utilities useful for creating PHP Web sites. Free Download
Thesaurus::DBI is a Perl module that can store and query synonyms (Thesaurus) in an SQL database. Free Download
Alzabo is a Perl module with data modelling tool and RDBMS-OO mapper. Free Download