Module:...TestBase(3)

πŸ“¦
version 0.86 Β· 4 versions
, in epel 9

πŸ’… NAME πŸ’…

Module::Install::TestBase β€” the Module::Install support bestie for Test::Base, no cap πŸŽ€

So like, this is a Perl module page from the User Contributed Perl Documentation, and it's literally the glue that lets Test::Base ride along inside your Module::Install setup. Slay.


✨ SYNOPSIS ✨

Okay so here's the whole vibe check, fr fr:

use inc::Module::Install;

name            'Foo';
all_from        'lib/Foo.pm';

use_test_base;

WriteAll;

That's the entire main character moment right there πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

So what does this actually do? It adds the use_test_base directive to Module::Install. That's the whole flex.

Which means β€” and this is the iconic part β€” you get full Test-Base support for your module with no external dependency on Test::Base. None. Zero. Nada. πŸ™ˆ

Just drop this line into your Makefile.PL:

use_test_base;

That's it. Really. Not even joking, bestie 😭 That one line and Test::Base is bundled into your module, so it is no longer any burden on the person installing your module. The way that's such a gift to your users, honestly 🫢


πŸ‘‘ AUTHOR πŸ‘‘

ingy dΓΆt Net β€” the legend β€” <ingy@cpan.org> ✨


Copyright 2005-2014. Ingy dΓΆt Net. πŸ’œ

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

See <http://www.perl.com/perl/misc/Artistic.html>


Ok that's the page!! πŸ“ This was Module:...TestBase(3), part of the User Contributed Perl Documentation, and the whole thing came from perl v5.32.1 with a date stamp of 2022-03-14 β€” so if you're citing it, that's the version and the day it was stamped, bestie πŸ’…πŸŽ€βœ¨

πŸ“¦ where this page comes from