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