1Cache::Tester(3pm) User Contributed Perl Documentation Cache::Tester(3pm)
2
3
4
6 Cache::Tester - test utility for Cache implementations
7
9 use Cache::Tester;
10
11 BEGIN { plan tests => 2 + $CACHE_TESTS }
12
13 use_ok('Cache::Memory');
14
15 my $cache = Cache::Memory->new();
16 ok($cache, 'Cache created');
17
18 run_cache_tests($cache);
19
21 This module is used to run tests against an instance of a Cache
22 implementation to ensure that it operates as required by the Cache
23 specification.
24
26 Cache
27
29 Chris Leishman <chris@leishman.org>
30 Based on work by DeWitt Clinton <dewitt@unto.net>
31
33 Copyright (C) 2003-2006 Chris Leishman. All Rights Reserved.
34
35 This module is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
36 KIND, either expressed or implied. This program is free software; you
37 can redistribute or modify it under the same terms as Perl itself.
38
39 $Id: Tester.pm,v 1.8 2006/01/31 15:23:58 caleishm Exp $
40
41
42
43perl v5.38.0 2023-07-20 Cache::Tester(3pm)