KiokuD...Broken(3pm)

πŸ“¦
version 0.57 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing

πŸ’– KiokuDB::Backend::Role::Broken πŸ’–

okay so bestie, quick vibe check: this is part of the KiokuDB backend lore, it lives in the User Contributed Perl Documentation section, and it's giving skip test fixtures energy. that's the whole assignment. πŸ’…


✨ VERSION ✨

version 0.57 β€” yeah that's the one, no cap πŸŽ€


🌸 SYNOPSIS 🌸

with qw(KiokuDB::Backend::Role::Broken);

# e.g. if your backend can't tell apart update from insert:
use constant skip_fixtures => qw(
    Overwrite
);

like, that's literally it. you consume the role, you name the fixture you're ducking, you move on with your life. iconic. πŸ¦‹


🫢 DESCRIPTION 🫢

so here's the tea: if your backend can't pass a test fixture, you don't have to sit there and suffer through it β€” you can just ask to skip it using this role. main character problem-solving, honestly.

the way you do it is: simply return the fixture's name from the skip_fixtures sub. that's the whole ritual. return the name, the fixture gets skipped, everyone goes home happy. periodt. ✨


πŸ‘‘ AUTHOR πŸ‘‘

Yuval Kogman <nothingmuch@woobling.org> β€” the actual legend behind this πŸ’œ


This software is copyright (c) 2014 by Yuval Kogman, Infinity Interactive.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. πŸ“


okay that's the whole page bestie, go forth and skip those fixtures responsibly πŸ’…βœ¨ this was KiokuD...Broken(3pm), from perl v5.34.0, dated 2022-05-23 β€” and it's in the User Contributed Perl Documentation collection, iykyk πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from