use Test::More 'no_plan'; use Gi::Testing::TestDB; my $testdb = Gi::Testing::TestDB->new( [qw/DBI:mysql:database:address:3306 tester password/], *main::DATA ); $testdb->install; # perform tests $dbh = $testdb->dbh; END { $testdb->uninstall; } __DATA__ CREATE TABLE TestObject ( identifier INT(10) NOT NULL PRIMARY KEY, name VARCHAR(50), attribute VARCHAR(50) );