David Golden > Dancer2-Plugin-Queue-0.002 > Dancer2::Plugin::Queue::Role::Test

Download:
Dancer2-Plugin-Queue-0.002.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.002   Source   Latest Release: Dancer2-Plugin-Queue-0.004

NAME ^

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

VERSION ^

version 0.002

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
syntax highlighting: