Dist::...::Test(3pm)

πŸ“¦
version 0.050 Β· 3 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

ok so bestie, this is Dist::Zilla::Plugin::Run::Test β€” it's the plugin that runs a command for your distribution after the build, during the test phase. that's the whole vibe. πŸŽ€

(it lives in the Dist::...::Test corner of the user-contributed Perl documentation, iykyk.)


✨ VERSION ✨

this is version 0.050 🫢


🌸 SYNOPSIS 🌸

the whole setup is literally this cute:

[Run::Test]
run = script/tester.pl --name %n --version %v some_file.ext

that's it. that's the configuration. slay. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

this plugin executes the command you specify during the test phase. that's its entire job and it does it beautifully. no cap. ✨


⚠️ CAVEAT ⚠️

ok so listen, this is important, don't skip it πŸ™ˆ

unlike the other [Run::*] plugins, when it runs your scripts, the current working directory will be the directory with the newly built distribution. that's not a bug, that's just... the way Dist::Zilla works. periodt.

so like, if your script was expecting to run from where you thought, it's giving surprise. plan accordingly bestie 😭


πŸ‘‘ POSITIONAL PARAMETERS πŸ‘‘

wanna know about all the common formatting variables that every plugin gets? go peek at "CONVERSIONS" in Dist::Zilla::Plugin::Run β€” that's where the full list lives. πŸ”₯

as for this plugin specifically: there are no positional parameters. none. zero. the void. πŸ’€


🫢 SUPPORT 🫢

got bugs? got feelings? submit them through the RT bug tracker:

<https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-Run>

or you can email <bug-Dist-Zilla-Plugin-Run@rt.cpan.org> β€” that's the address, fr fr.

there's also a mailing list for users of this distribution, over at <http://dzil.org/#mailing-list> 🌈

and there's an irc channel too, it's "#distzilla" on irc.perl.org β€” find it at <irc://irc.perl.org/#distzilla> πŸ’œ

come hang out, the vibes are immaculate.


⭐ AUTHOR ⭐

Torsten Raudssus <torsten@raudss.us> <https://raudss.us/> β€” icon, legend, wrote the thing. πŸ‘‘


This software is copyright (c) 2010 by Raudssus Social Software <https://raudss.us/>.

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


and that's the whole page bestie!! 🌸 this was written for perl v5.38.2 and dated 2024-06-07, so if you're reading this from the future... hey. πŸ’– mwah, go run your tests. πŸ¦‹

πŸ“¦ where this page comes from