NAME

Test::Mock::Redis - use in place of Redis for unit testing

VERSION

Version 0.01

SYNOPSIS

Test::Mock::Redis can be used in place of Redis for running tests without needing a running redis instance.

use Test::Mock::Redis;

my $redis = Test::Mock::Redis->new(server => 'whatever');
...

SUBROUTINES/METHODS

new

Create a new Test::Mock::Redis object. 

It can be used in place of a Redis object for unit testing.

TODO

Not all Redis functionality is implemented. Pull requests welcome!

AUTHOR

Jeff Lavallee, <jeff at zeroclue.com>

BUGS

Please report any bugs or feature requests to bug-mock-redis at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Mock-Redis. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Test::Mock::Redis

You can also look for information at:

ACKNOWLEDGEMENTS

Salvatore Sanfilippo for redis, of course!

Dobrica Pavlinusic & Pedro Melo for Redis.pm

LICENSE AND COPYRIGHT

Copyright 2011 Jeff Lavallee.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.