fixed moosified-rs.t failures by making the test skip if not all dependencies are met
[chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate] / t / moosified-rs.t
1 use strict;
2 use warnings;
3 use Test::More;
4
5 BEGIN {
6 eval {
7 require Moose;
8 require MooseX::NonMoose;
9 require namespace::autoclean;
10 };
11 plan skip_all =>
12 "Moose, MooseX::NonMoose and namespace::autoclean required"
13 if $@;
14 }
15
16 use lib 't/lib';
17 use DBSchemaMoose;
18 use RunTests;
19
20 my $schema = DBSchemaMoose->get_test_schema('dbi:SQLite:dbname=:memory:');
21
22 run_tests($schema);
This page took 0.029669 seconds and 4 git commands to generate.