Cache::Tester - test utility for Cache implementations
use Cache::Tester; BEGIN { plan tests => 2 + $CACHE_TESTS } use_ok('Cache::Memory'); my $cache = Cache::Memory->new(); ok($cache, 'Cache created'); run_cache_tests($cache);
This module is used to run tests against an instance of a Cache implementation to ensure that it operates as required by the Cache specification.
Cache
Chris Leishman <chris@leishman.org> Based on work by DeWitt Clinton <dewitt@unto.net>
Copyright (C) 2003 Chris Leishman. All Rights Reserved.
This module is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either expressed or implied. This program is free software; you can redistribute or modify it under the same terms as Perl itself.
$Id: Tester.pm,v 1.6 2005/10/20 12:52:03 caleishm Exp $
To install Cache, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Cache
CPAN shell
perl -MCPAN -e shell install Cache
For more information on module installation, please visit the detailed CPAN module installation guide.