aboutsummaryrefslogtreecommitdiffstats
path: root/bin/test-wrapper
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2015-01-26 18:13:55 +0100
committerMarius Halden <marius.h@lden.org>2015-01-26 18:13:55 +0100
commit1c5c685d0b0904e7ddc6e764e58e8fae08632d1d (patch)
tree559d5fddb743c1c083e23c9a3831efea92a240cb /bin/test-wrapper
parent84de1b811a219c41adbdcc8b65851320a77e98f7 (diff)
parent04117b8be30b5d82d50cdc047ac4e7c19864f8ed (diff)
Merge tag 'v1.5.3' into fiksgatami-dev
Diffstat (limited to 'bin/test-wrapper')
-rwxr-xr-xbin/test-wrapper35
1 files changed, 0 insertions, 35 deletions
diff --git a/bin/test-wrapper b/bin/test-wrapper
deleted file mode 100755
index 9cb1791a1..000000000
--- a/bin/test-wrapper
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/usr/bin/env perl
-use strict; use warnings;
-
-BEGIN {
- use FindBin;
- require "$FindBin::Bin/../setenv.pl";
-}
-
-use FixMyStreet::TestAppProve;
-
-=head1 NAME
-
-bin/test-wrapper - spin up a clean database and configuration for tests
-
-=head1 USAGE
-
- bin/test-wrapper t/ # runs prove -r t/ (recursively, saving state)
- bin/test-wrapper --state=failed # runs just failing tests
- # delete .prove to reset
-
- bin/test-wrapper t/foo.t # runs with prove -v (single test)
-
-By default we use conf/general.yml-example as the template, and spin up a fresh
-Postgres cluster and database. We can override this by doing:
-
- bin/test-wrapper --config=general.mycobrand.yml
- bin/test-wrapper --db-config=general.yml # e.g. use your current DB settings
- bin/test-wrapper --all-config=general.yml # e.g. use your current DB settings
-
-(NB: passing --state=save automagically is experimental, and will be removed if
-it turns out to be annoying.)
-
-=cut
-
-FixMyStreet::TestAppProve->run(@ARGV);