README from Pod please
[catagits/Gitalist.git] / t / 01app.t
CommitLineData
89de6a33 1#!/usr/bin/env perl
2use strict;
3use warnings;
4use Test::More tests => 2;
5
6BEGIN { use_ok 'Catalyst::Test', 'Gitalist' }
7
28e35997 8# Full tests are only run if the APP_TEST env var is set.
9# This is needed to load the test configuration.
10diag("*** SKIPPING app tests.
11*** Set APP_TEST for the tests to run fully") if !$ENV{APP_TEST};
12SKIP: {
13 skip "Set APP_TEST for the tests to run fully",
14 1 if !$ENV{APP_TEST};
15
89de6a33 16ok( request('/')->is_success, 'Request should succeed' );
28e35997 17
4805c465 18} # Close APP_TEST skip