Test::...omLine(3pm)
β¨ Test::...omLine(3pm) β¨
okay so bestie, we're in User Contributed Perl Documentation territory and this lil page is literally called Test::...omLine(3pm) π yes the name is doing a little truncation moment, that's just how it's filed, don't worry about it π
πΈ NAME πΈ
Test::Name::FromLine β Auto fill test names from caller line
no cap, that's the whole vibe: your test names get filled in automatically from where they were called. iconic behavior fr fr π
π¦ SYNOPSIS π¦
use Test::Name::FromLine; # just use this
use Test::More;
is 1, 1; #=> ok 1 - L3: is 1, 1;
done_testing;
see that? you didn't name that test. the module named it for you. it said "L3: is 1, 1" and honestly? it ate π
π DESCRIPTION π
Test::Name::FromLine is a test utility that fills test names from its file. Just use this module in test and this module fill test names to all test except named one.
so like, the way this works is you drop it in and it's giving auto-naming energy for every single test that doesn't already have a name of its own β¨ the ones you did name? untouched, left alone, respected. the unnamed ones get scooped up and given a name pulled from the file. literally a glow-up for your test output π«Ά
π§ AUTHOR π§
cho45 <cho45@lowreal.net>
shoutout to the icon who built this π
π SEE ALSO π
This is inspired from <http://subtech.g.hatena.ne.jp/motemen/20101214/1292316676>.
ngl the lore goes back further than this module, iykyk π
π LICENSE π
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
free as in go wild bestie, same terms as Perl itself, that's the deal π
ok and that's a wrap on the page fr fr β this one's from perl v5.36.0, dated 2022-11-27, and it lives at Test::...omLine(3pm) in the User Contributed Perl Documentation corner of the world πΈ thanks for reading, mwah π
β¨
π¦ where this page comes from
- debian bookworm: libtest-name-fromline-perl 0.13-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libtest-name-fromline-perl 0.13-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libtest-name-fromline-perl 0.13-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