Fork of Test::postgresql that is actively maintained
Perl
Permalink
Failed to load latest commit information.
inc/Module Update module::install files and meta.yml Feb 4, 2016
lib/Test
t
.gitignore Add a gitignore file Aug 4, 2014
Changes Attempts to detect running as root in Docker and setuid before pg_ctl Nov 15, 2016
MANIFEST Remove deleted file from manifest Jan 7, 2016
META.yml Update module::install files and meta.yml Feb 4, 2016
Makefile.PL Attempts to detect running as root in Docker and setuid before pg_ctl Nov 15, 2016
README.md

README.md

Test::PostgreSQL

Test::PostgreSQL helps you run unit tests that require a PostgreSQL database, by starting one up for you, and automatically destroying it later.

Installation

To install this module, it's probably easiest to run this, which doens't even require downloading the source.

cpanm Test::PostgreSQL

To install this module from source, such as a CPAN download or Github checkout, type the following in the same directory as this README.

perl Makefile.PL make make test make install

Module Dependencies

  • Class::Accessor::Lite
  • DBI
  • DBD::Pg

This module's unit tests require:

  • Test::SharedFork

Authors

Toby Corkindale, Kazuho Oku, and various contributors.

Copyright and License

This version copyright © 2011-2014 Toby Corkindale.

Versions 0.09 and earlier were copyright (C) 2009 Cybozu Labs, Inc.

This module is free software, released under the Perl Artistic License 2.0. See http://www.perlfoundation.org/artistic_license_2_0 for more information.