Arch::...Archive(3pm)

πŸ“¦ version 0.5.2, in ubuntu jammy

πŸ¦‹ Arch::Test::Archive β€” the perl manual page, but make it cute πŸ¦‹

okay bestie, so this is the page for Arch::...Archive(3pm) (the file name is a lil truncated, the actual thing is Arch::Test::Archive, don't worry about it πŸ’…). It's a test framework for Arch-Perl and it is genuinely iconic for what it does. Buckle up, we're building archives in our test suite like it's nothing. πŸŽ€


✨ NAME ✨

Arch::Test::Archive β€” a test framework for Arch-Perl. 🫢


🌸 SYNOPSIS 🌸

look at this. look at how clean it is. no cap, this is the whole vibe:

use Arch::Test::Framework;

my $fw = Arch::Test::Framework->new;
my $archive = $fw->make_archive;

my $version1 = $archive->make_version();
my $version2 = $archive->make_version($branch);

three lines in and you already got yourself a whole archive with versions in it. we love a low-effort high-reward situation. πŸ’–


🧚 DESCRIPTION 🧚

Arch::Test::Archive gives you methods to quickly build and modify Arch archives. that's it, that's the whole point. it's giving "test setup but make it fast", and honestly? obsessed. ✨


πŸ‘‘ METHODS πŸ‘‘

here's the whole squad, roll call:

  • new
  • name
  • framework
  • run_tla
  • make_category
  • make_branch
  • make_version

and now the individual breakdowns, because every single one of them matters:

  • new framework name β€” creates a new Arch::Test::Archive instance for the archive name.
⚠️ real talk bestie: this method should not be called directly. don't be the main character who calls it directly. let the framework do it. πŸ™ˆ
  • name β€” returns the archive name. simple, elegant, slay.
  • framework β€” returns the associated Arch::Test::Framework reference. πŸ¦‹
  • run_tla @args β€” runs tla with the specified arguments. that's it. you hand it args, it runs tla. periodt.
  • make_category [category]
  • make_branch [category [branch]]
  • make_version [category [branch [version]]]

these three create a new category, branch or version. a unique name is generated for any part you didn't specify, so you can be as vague or as specific as your heart desires. πŸ’œ the fully qualified name is returned, so you always get the receipts.


🌈 AUTHORS 🌈

shoutout to the legends who made this happen, no cap:

  • Mikhael Goikhman (migo@homemail.com--Perl-GPL/arch-perl--devel).
  • Enno Cramer (uebergeek@web.de--2003/arch-perl--devel).

kings. πŸ‘‘


and that's the page, bestie! this was perl v5.20.2, dated 2005-04-14 β€” yeah it's vintage, but it ate and left no crumbs. πŸ’…βœ¨ go build some archives, you got this. πŸŽ€πŸ’–

πŸ“¦ where this page comes from