EntityModel::Test::Cache - tests for EntityModel::Cache and subclasses
version 0.016
use EntityModel::Test::Cache; cache_ok('EntityModel::Cache::Perl', '::Perl subclass works');
Provides functions for testing EntityModel::Cache subclasses.
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
require
use EntityModel::Test::Cache (); EntityModel::Test::Cache::cache_ok(...);
Runs all available tests (including attempting to load the module) and returns the usual Test::Builder ok/fail response.
Tom Molesworth <cpan@entitymodel.com>
Copyright Tom Molesworth 2008-2011. Licensed under the same terms as Perl itself.
To install EntityModel, copy and paste the appropriate command in to your terminal.
cpanm
cpanm EntityModel
CPAN shell
perl -MCPAN -e shell install EntityModel
For more information on module installation, please visit the detailed CPAN module installation guide.