# phpman > perldoc > Cache::BaseCacheTester

## NAME
    [Cache::BaseCacheTester](https://www.chedong.com/phpMan.php/perldoc/Cache%3A%3ABaseCacheTester/markdown) -- abstract cache tester base class

## DESCRIPTION
    BaseCacheTester provides functionality common to all instances of a class that will test cache
    implementations.

## SYNOPSIS
    BaseCacheTester provides functionality common to all instances of a class that will test cache
    implementations.

      package [Cache::MyCacheTester](https://www.chedong.com/phpMan.php/perldoc/Cache%3A%3AMyCacheTester/markdown);

      use vars qw( @ISA );
      use [Cache::BaseCacheTester](https://www.chedong.com/phpMan.php/perldoc/Cache%3A%3ABaseCacheTester/markdown);

      @ISA = qw( [Cache::BaseCacheTester](https://www.chedong.com/phpMan.php/perldoc/Cache%3A%3ABaseCacheTester/markdown) );

## METHODS
### new
        Construct a new BaseCacheTester and initialize the test count to *$base_test_count*.

### ok
        Print a message to stdout in the form "ok $test_count" and increments the test count.

### not_ok
        Print a message to stdout in the form "not ok $test_count # *$message* " and increments the
        test count.

### skip
        Print a message to stdout in the form "ok $test_count # skipped *$message* " and increments
        the test count.

## SEE ALSO
    [Cache::CacheTester](https://www.chedong.com/phpMan.php/perldoc/Cache%3A%3ACacheTester/markdown), [Cache::SizeAwareCacheTester](https://www.chedong.com/phpMan.php/perldoc/Cache%3A%3ASizeAwareCacheTester/markdown)

## AUTHOR
    Original author: DeWitt Clinton <<dewitt@unto.net>>

    Last author: $Author: dclinton $

    Copyright (C) 2001-2003 DeWitt Clinton

