This is a CPAN module:

   perl Makefile.PL
   make
   make test
   sudo make install

See "perldoc DBICx::TestDatabase" for more info.