The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

EntityModel::Test::Cache - tests for EntityModel::Cache and subclasses

VERSION

version 0.017

SYNOPSIS

 use EntityModel::Test::Cache;
 cache_ok('EntityModel::Cache::Perl', '::Perl subclass works');

DESCRIPTION

Provides functions for testing EntityModel::Cache subclasses.

EXPORTS

Since this is a test class, functions are exported automatically to match behaviour of other test modules such as Test::More. To disable this, pass an empty list on the use line or use require instead:

 use EntityModel::Test::Cache ();
 EntityModel::Test::Cache::cache_ok(...);

FUNCTIONS

cache_ok

Runs all available tests (including attempting to load the module) and returns the usual Test::Builder ok/fail response.

AUTHOR

Tom Molesworth <cpan@entitymodel.com>

LICENSE

Copyright Tom Molesworth 2008-2011. Licensed under the same terms as Perl itself.