aboutsummaryrefslogtreecommitdiffstats
path: root/cpanfile
diff options
context:
space:
mode:
authorHakim Cassimally <hakim@mysociety.org>2014-05-21 11:42:23 +0000
committerMatthew Somerville <matthew@mysociety.org>2014-12-12 12:41:32 +0000
commit244b2876c837f65ed9477a57c3ed297f493b44a5 (patch)
tree0f8c3eb297e59fe98ffc79b74137c5fd5e8f4784 /cpanfile
parent43c98742ee85c73c4783451ceeea28108bb793c6 (diff)
Add a script to always test on a clean db/config.
Fixes #786.
Diffstat (limited to 'cpanfile')
-rw-r--r--cpanfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpanfile b/cpanfile
index b50e433a8..cda6cc131 100644
--- a/cpanfile
+++ b/cpanfile
@@ -110,6 +110,10 @@ requires 'File::ChangeNotify';
requires 'Path::Tiny';
requires 'File::Find::Rule';
+feature 'test-wrapper', 'Spin up a test database and config to run tests' => sub {
+ requires 'Test::PostgreSQL';
+};
+
# Modules used by the test suite
requires 'CGI::Simple';
requires 'HTTP::Headers';