Dancer2::Plugin::Queue::Role::Test - A Test::Roo::Role for testing Queue backends
version 0.006
In your backend test file:
use Test::Roo; with 'Dancer2::Plugin::Queue::Role::Test'; run_me({ backend => 'Array', options => { name => "foo" } }); done_testing;
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:
HTTP::Tiny
Test::Roo
Test::TCP
The short name for a Dancer2::Plugin::Queue implementation to test.
A hash reference of options to configure the backend.
David Golden <dagolden@cpan.org>
This software is Copyright (c) 2012 by David Golden.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
To install Dancer2::Plugin::Queue, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dancer2::Plugin::Queue
CPAN shell
perl -MCPAN -e shell install Dancer2::Plugin::Queue
For more information on module installation, please visit the detailed CPAN module installation guide.