Tom Molesworth > EntityModel-0.016 > EntityModel::Test::Cache

Download:
EntityModel-0.016.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.016   Source   Latest Release: EntityModel-0.017

NAME ^

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

VERSION ^

version 0.016

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.

syntax highlighting: