X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F01app.t;h=0be3710befebd22332371a1128f1b2a181a104fb;hb=8dbe8024e1109d4a92d8ddb89b9a505c350e9292;hp=977fe578a429a7b53804970bc3513d10ccaa2e70;hpb=4666d5c7808a05b70242119f24c72a479fd732f7;p=catagits%2FGitalist.git diff --git a/t/01app.t b/t/01app.t index 977fe57..0be3710 100644 --- a/t/01app.t +++ b/t/01app.t @@ -5,4 +5,14 @@ use Test::More tests => 2; BEGIN { use_ok 'Catalyst::Test', 'Gitalist' } +# Full tests are only run if the APP_TEST env var is set. +# This is needed to load the test configuration. +diag("*** SKIPPING app tests. +*** Set APP_TEST for the tests to run fully") if !$ENV{APP_TEST}; +SKIP: { + skip "Set APP_TEST for the tests to run fully", + 1 if !$ENV{APP_TEST}; + ok( request('/')->is_success, 'Request should succeed' ); + +} # Close APP_TEST skip