Cache::Tester - test utility for Cache implementations


Cache documentation  | view source Contained in the Cache distribution.

Index


NAME

Top

Cache::Tester - test utility for Cache implementations

SYNOPSIS

Top

  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

Top

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

Top

Cache

AUTHOR

Top

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

COPYRIGHT

Top


Cache documentation  | view source Contained in the Cache distribution.