Test::L...Modules(3)

πŸ“¦
version 0.022 Β· 2 versions
, in fedora 43

✨ 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