Module...raTests(3pm)
π Module::Install::ExtraTests β bestie edition π
okay so this is Module::Install::ExtraTests, a 3pm manual page, and it's all about contextual tests that the harness can ignore β¨. literally the whole point is "run these tests only when the vibes are right" and honestly? iconic. π
πΈ VERSION πΈ
0.008 β that's the number, don't @ me π
π COMMANDS π
so this plugin adds exactly one Module::Install command. one. singular. main character energy fr fr.
β¨ extra_tests β¨
extra_tests;
the way that this declares the test files chillin' in the ./xt directory should only run in certain instances π¦. like, not always. contextual. iykyk.
here's the breakdown, bestie:
./xt/authorβ runs when the tests are being run in an author's working copy π§./xt/smokeβ runs when the dist is being smoked (AUTOMATED_TESTING=1) π₯./xt/releaseβ runs duringmake disttestπ
these directories get recursively scanned for *.t files. like, it's digging through everything, no cap.
β οΈ and if any directories or files exist in./xtthat are not recognized, theMakefile.PLwill die. π not a cute little warning, not a vibe check, it just dies. so keep that directory tidy, okay?
Achtung! π this is pretty scary, experimental code. mostly because it relies on the pretty scary, non-experimental-but-seriously-sketchy underlying customization system for ExtUtils::MakeMaker. π the author says they may remove this warning when they've decided this is stable enough, but until then:
HIC SUNT DRACONES
(yes that means dragons. yes it's serious. π)
π AUTHOR TESTS π
so "is this being run by an author?" β that question gets determined internally by Module::Install. but at the time of the writing of this version, it's determined by the existence of a directory called .author in ./inc. π
(and on VMS, it's _author instead. little platform moment. π
)
this directory gets created when Module::Install's Makefile.PL is run in a directory where no ./inc directory exists. slay. π«Ά
π BUGS π
please please please report any bugs or feature requests through the web interface at <http://rt.cpan.org> π. the author will be notified, and then you'll automatically be notified of progress on your bug as changes get made. so like, you're in the loop. bestie privileges. π
β COPYRIGHT β
Copyright 2008, Ricardo SIGNES. this program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. πΈ
and that's the whole page, bestie!! this was perl v5.36.0, dated 2022-12-06, straight out of the Module...raTests(3pm) manual. go run your tests contextually, stay hydrated, and don't put unrecognized files in ./xt unless you want the dragons. πβ¨π
π¦ where this page comes from
- debian bookworm: libmodule-install-extratests-perl 0.008-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libmodule-install-extratests-perl 0.008-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms