Cache::BaseCacheTester -- abstract cache tester base class
BaseCacheTester provides functionality common to all instances of a class that will test cache implementations.
package Cache::MyCacheTester; use vars qw( @ISA ); use Cache::BaseCacheTester; @ISA = qw( Cache::BaseCacheTester );
Construct a new BaseCacheTester and initialize the test count to 'base_test_count'
The initial test count
Print a message to stdout in the form "ok $test_count" and incremements the test count.
Print a message to stdout in the form "not ok $test_count # $message " and incremements the test count.
The reason the test failed
Print a message to stdout in the form "ok $test_count # skipped $message " and incremements the test count.
The reason the test was skipped
Cache::CacheTester, Cache::SizeAwareCacheTester
Original author: DeWitt Clinton <dewitt@unto.net>
Last author: $Author: dclinton $
Copyright (C) 2001 DeWitt Clinton
To install Cache::Cache, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Cache::Cache
CPAN shell
perl -MCPAN -e shell install Cache::Cache
For more information on module installation, please visit the detailed CPAN module installation guide.