File Coverage

blib/lib/Test/DBIx/Class/Example/Schema.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Test::DBIx::Class::Example::Schema;
2 2     2   1745 use base 'DBIx::Class::Schema';
  2         3  
  2         1225  
3             __PACKAGE__->load_namespaces(default_resultset_class => 'DefaultRS');
4              
5             1;
6              
7             =head1 NAME
8              
9             Test::DBIx::Class::Example::Schema - A basic schema you can use for testing
10              
11             =head2 SYNOPSIS
12              
13             my $schema = Test::DBIx::Class::Example::Schema->connect($dsn);
14              
15             =head1 DESCRIPTION
16              
17             This Schema has two purposes. First, we need one in order to properly test
18             this distribution. Secondly, we'd like to offer a useful and simple schema
19             that component authors can use to test their code. This way you don't have
20             to keep rolling your own example database and we can concentrate effort on
21             making one that is solid.
22              
23             =head1 SEE ALSO
24              
25             The following modules or resources may be of interest.
26              
27             L
28              
29             =head1 AUTHOR
30              
31             John Napiorkowski C<< >>
32              
33             =head1 COPYRIGHT & LICENSE
34              
35             Copyright 2009, John Napiorkowski C<< >>
36              
37             This program is free software; you can redistribute it and/or modify
38             it under the same terms as Perl itself.
39              
40             =cut
41