Shlomi Fish > Cache-2.09 > Cache::Tester

Download:
Cache-2.09.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Module Version: 2.09   Source   Latest Release: Cache-2.10

NAME ^

Cache::Tester - test utility for Cache implementations

SYNOPSIS ^

  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);

DESCRIPTION ^

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.

SEE ALSO ^

Cache

AUTHOR ^

 Chris Leishman <chris@leishman.org>
 Based on work by DeWitt Clinton <dewitt@unto.net>

COPYRIGHT ^

 Copyright (C) 2003-2006 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.8 2006/01/31 15:23:58 caleishm Exp $

syntax highlighting: