move the test app into the examples directory
[scpubgit/Test-Harness-Selenium.git] / examples / THSelenium-Test / blib / lib / THSelenium / Test.pm
CommitLineData
4e138785 1package THSelenium::Test;
2use Moose;
3use namespace::autoclean;
4
5use Catalyst::Runtime 5.80;
6
7# Set flags and add plugins for the application.
8#
9# Note that ORDERING IS IMPORTANT here as plugins are initialized in order,
10# therefore you almost certainly want to keep ConfigLoader at the head of the
11# list if you're using it.
12#
13# -Debug: activates the debug mode for very useful log messages
14# ConfigLoader: will load the configuration from a Config::General file in the
15# application's home directory
16# Static::Simple: will serve static files from the application's root
17# directory
18
19use Catalyst qw/
20 -Debug
21 ConfigLoader
22 Static::Simple
23/;
24
25extends 'Catalyst';
26
27our $VERSION = '0.01';
28
29# Configure the application.
30#
31# Note that settings in thselenium_test.conf (or other external
32# configuration file that you set up manually) take precedence
33# over this when using ConfigLoader. Thus configuration
34# details given here can function as a default configuration,
35# with an external configuration file acting as an override for
36# local deployment.
37
38__PACKAGE__->config(
39 name => 'THSelenium::Test',
40 # Disable deprecated behavior needed by old applications
41 disable_component_resolution_regex_fallback => 1,
42);
43
44# Start the application
45__PACKAGE__->setup();
46
47
48=head1 NAME
49
50THSelenium::Test - Catalyst based application
51
52=head1 SYNOPSIS
53
54 script/thselenium_test_server.pl
55
56=head1 DESCRIPTION
57
58[enter your description here]
59
60=head1 SEE ALSO
61
62L<THSelenium::Test::Controller::Root>, L<Catalyst>
63
64=head1 AUTHOR
65
66&
67
68=head1 LICENSE
69
70This library is free software. You can redistribute it and/or modify
71it under the same terms as Perl itself.
72
73=cut
74
751;