KiokuDB::Backend::Role::Broken - Skip test fixtures


KiokuDB documentation Contained in the KiokuDB distribution.

Index


Code Index:

NAME

Top

KiokuDB::Backend::Role::Broken - Skip test fixtures

SYNOPSIS

Top

    with qw(KiokuDB::Backend::Role::Broken);

    # e.g. if your backend can't tell apart update from insert:
    use constant skip_fixtures => qw(
        Overwrite
    );

DESCRIPTION

Top

If your backend can't pass a test fixture you can ask to skip it using this role.

Simply return the fixture's name from the skip_fixtures sub.


KiokuDB documentation Contained in the KiokuDB distribution.

#!/usr/bin/perl

package KiokuDB::Backend::Role::Broken;
use Moose::Role;

use namespace::clean -except => 'meta';

requires "skip_fixtures";

__PACKAGE__

__END__