The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Dancer2::Plugin::Queue::Role::Test - A Test::Roo::Role for testing Queue backends

VERSION

version 0.005

SYNOPSIS

In your backend test file:

    use Test::Roo;

    with 'Dancer2::Plugin::Queue::Role::Test';

    run_me({ backend => 'Array', options => { name => "foo" } });

    done_testing;

DESCRIPTION

This module is a Test::Roo role used for testing Dancer2::Plugin::Queue implementations.

Implementations using this test role must ensure that the following modules are included as test requirements:

ATTRIBUTES

backend

The short name for a Dancer2::Plugin::Queue implementation to test.

options

A hash reference of options to configure the backend.

AUTHOR

David Golden <dagolden@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2012 by David Golden.

This is free software, licensed under:

  The Apache License, Version 2.0, January 2004