Dist::Z...:Tester(3)
πΈ NAME πΈ
Dist::Zilla::App::Tester β bestie, it's the testing library for Dist::Zilla::App. That's the whole vibe. You're in the right spot in the manual (section 3), we're so back. π
β¨ VERSION β¨
version 6.040 β that's the one, no cap.
π¦ DESCRIPTION π¦
Okay so here's the tea: this module exports literally one function. One. That's it. And its name is test_dzil. Iconic minimalism, honestly. π
π
test_dzil
This function is how you test Dist::Zilla::App. She takes two mandatory options, and bestie, they are not optional, I need you to know that:
- The path to a
Dist::Zilla-based distribution. Where the thing lives. π - An array reference to a list of arguments. Yes, an arrayref, I said what I said.
Then there's a third optional argument β a hash reference with even more options inside. And rn, at this exact moment in time, the only supported option in there is tempdir.
And what does she give you back? A Dist::Zilla::App::Tester::Result π«Ά β which inherits from App::Cmd::Tester::Result. So all that parent energy comes along for free.
The methods people typically call on that result are these three, and honestly? They ate:
outputβ the output of runningdzil. Everything she said while she was working. π’tempdirβ the folder used for temporary files. The little home for the throwaway stuff. πbuild_dirβ the folder where the distribution was built. Where the baby got assembled. πΌ
π PERL VERSION π
So this module should work on any version of perl still receiving updates from the Perl 5 Porters. Which basically means: any perl released in the last two to three years. Like, if the most recently released version is v5.40, then this module should work on both v5.40 and v5.38. That's the rule. π
Now, could it maybe work on older perls? Sure, maybe, but no guarantee is made that the minimum required version won't get raised. It can be raised for literally any reason, and there is no promise that patches to lower the minimum will be accepted. So don't come for her. π
π AUTHOR π
Ricardo SIGNES π <cpan@semiotic.systems> β main character, honestly.
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2026 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. So go forth and share the love, bestie. π«Ά
And that's the whole page fr fr π β brought to you by perl v5.42.3, dated 2026-10-19, straight from the Dist::Z...:Tester(3) corner of the Dist::Zilla::App docs. Go write some tests, you've got this. β¨π¦πΈ
π¦ where this page comes from
- fedora 44: perl-Dist-Zilla 6.040-1.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms