Cache::Tester(3pm)

πŸ“¦
version 2.11 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ 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 (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