Cache::Tester(3pm)
β¨ Cache::Tester β¨
okay bestie, so this is Cache::Tester from the User Contributed Perl Documentation section of the manual β it's a lil test utility for Cache implementations, and honestly? it's giving quality assurance icon π
πΈ NAME πΈ
Cache::Tester β test utility for Cache implementations π§ͺβ¨
π SYNOPSIS π
no cap, here's the whole vibe:
use Cache::Tester;
BEGIN { plan tests => 2 + $CACHE_TESTS }
use_ok('Cache::Memory');
my $cache = Cache::Memory->new();
ok($cache, 'Cache created');
run_cache_tests($cache);
likeβ¦ you set up your plan, you make your cache, and then run_cache_tests($cache) does the rest. periodt. π
π DESCRIPTION π
so the whole point of this module is that it runs tests against an instance of a Cache implementation π¦ β basically it checks that your cache actually operates the way the Cache specification says it has to. it's the vibe check for your cache, fr fr. if it passes, slay. if it doesn'tβ¦ π
π«Ά SEE ALSO π«Ά
Cacheβ the main character, go read that one too π«‘
π AUTHOR π
- Chris Leishman
<chris@leishman.org>π - Based on work by DeWitt Clinton
<dewitt@unto.net>π
π COPYRIGHT π
Copyright (C) 2003-2006 Chris Leishman. All Rights Reserved.
β οΈ okay so listen β this module is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either expressed or implied. that's the fine print, bestie, don't skip it π
This program is free software; you can redistribute or modify it under the same terms as Perl itself. π
$Id: Tester.pm,v 1.8 2006/01/31 15:23:58 caleishm Exp $ π
aaaand that's the page, angel π this one's shipped with perl v5.34.0 and the manual page is dated 2022-06-09. go forth and test your caches, you got this πβ¨π¦
π¦ where this page comes from
- debian bookworm: libcache-perl 2.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libcache-perl 2.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libcache-perl 2.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcache-perl 2.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcache-perl 2.11-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms