Test::...::Store(3pm)

πŸ“¦
version 1.30 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– Test::...::Store(3pm) πŸ’–

okay so bestie, you know how this page is filed under the User Contributed Perl Documentation manual? yeah. that's us. we're in the Test::...::Store zone and it's lowkey iconic πŸŽ€


✨ NAME ✨

Test::Bot::BasicBot::Pluggable::Store β€” it's giving "basics tests for Bot::BasicBot::Pluggable storage classes" πŸ’…


🌸 VERSION 🌸

version 1.30 ✨ (yes bestie, one point three zero, we're fancy)


πŸ¦‹ SYNOPSIS πŸ¦‹

like, this is literally all you gotta do:

store_ok( 'Memory' );
store_ok( 'Deep', { file => 'deep.db' });

that's it. that's the vibe. 🫢


πŸŽ€ DESCRIPTION πŸŽ€

so this module is a little collection of general functions for testing storage modules for Bot::BasicBot::Pluggable. right now it only exports the basic store_ok, and honestly? slay. we keep it simple. πŸ’–


πŸ‘‘ FUNCTIONS πŸ‘‘

⭐ store_ok ⭐

this function tests some basic behaviour that every single storage module should provide β€” like store creation, get, and set. the essentials. the bare minimum. the "you gotta have this or what are you even doing" set. 🧚

heads up bestie!! you can't use this directly with Test::More, because we hardcode the number of tests to nine right now. nine tests. no more, no less. it's a whole thing.

(Man, i'm so excited about nested tap streams in the newest development release of Test::Simple) 😭πŸ”₯


🌈 AUTHOR 🌈

Mario Domgoergen <mdom@cpan.org> β€” icon, legend, the moment. πŸ’œ

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. periodt. πŸ’…


and that's the whole page, bestie!! πŸŽ‰ this was rendered with perl v5.40.0 on 2024-08-24, and it was the Test::...::Store(3pm) page β€” hope you ate well, mwah πŸ“πŸ’–βœ¨

πŸ“¦ where this page comes from