Test::L...Modules(3)
β¨ NAME β¨
okay so bestie, welcome to the Test::LoadAllModules page π β this is the Test::LoadAllModules manual page, third section of the perl docs, and it's literally just one job: do use_ok for modules in search path. that's it. that's the whole vibe. π¦
πΈ SYNOPSIS πΈ
here's how you actually use her:
# basic
use Test::LoadAllModules;
BEGIN {
all_uses_ok(search_path => 'MyApp');
}
# exclude some classes
use Test::LoadAllModules;
BEGIN {
all_uses_ok(
search_path => 'MyApp',
except => [
'MyApp::Role',
qr/MyApp::Exclude::.*/,
]
);
}
# set @INC with lib parm
use Test::LoadAllModules;
BEGIN {
all_uses_ok(
search_path => 'MyApp',
lib => [
'lib',
't/lib',
]
);
}
likeβ¦ three flavours, pick your fighter π
π DESCRIPTION π
so the tea is: Test::LoadAllModules does use_ok for modules in search_path. no cap. it goes and finds them and it uses them and it's iconic for it β¨
π EXPORTED FUNCTIONS π
π« all_uses_ok
Does Test::More's use_ok() for every module found in search path. every single one. it's giving thorough π
π AUTHOR π
Takatoshi Kitano <kitano.tk@gmail.com> β the mastermind, the main character, periodt π
π SEE ALSO π
Test::Moreβ go read her too, she's the blueprint π«Ά
π LICENSE π
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
fr fr, same terms as Perl itself β go wild, just keep it free bestie π
okay that's the whole page, you ate that π this was the Test::LoadAllModules(3) page from perl v5.42.0, dated 2025-07-25, and yes it's a real one, iykyk πβ¨π¦
π¦ where this page comes from
- fedora 43: perl-Test-LoadAllModules 0.022-34.fc43 Β· 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