KiokuDB/Backend/Role/Broken.pm untested

filter: Statementstmt 0.0% 0 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 10 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #!/usr/bin/perl
2  
3 package KiokuDB::Backend::Role::Broken;
4 use Moose::Role;
5  
6 use namespace::clean -except => 'meta';
7  
8 requires "skip_fixtures";
9  
10 __PACKAGE__
11  
12 __END__
13  
14 =pod
15  
16 =head1 NAME
17  
18 KiokuDB::Backend::Role::Broken - Skip test fixtures
19  
20 =head1 SYNOPSIS
21  
22 with qw(KiokuDB::Backend::Role::Broken);
23  
24 # e.g. if your backend can't tell apart update from insert:
25 use constant skip_fixtures => qw(
26 Overwrite
27 );
28  
29 =head1 DESCRIPTION
30  
31 If your backend can't pass a test fixture you can ask to skip it using this role.
32  
33 Simply return the fixture's name from the C<skip_fixtures> sub.
34  
35 =cut
36  
37