DOKK / manpages / debian 12 / libmodule-build-pluggable-perl / Test::Module::Build::Pluggable.3pm.en
Test::Module::Build::Pluggable(3pm) User Contributed Perl Documentation Test::Module::Build::Pluggable(3pm)

Test::Module::Build::Pluggable - Test your plugin

    my $test = Test::Module::Build::Pluggable->new();
    $test->write_file('Build.PL', <<'...');
    ...
    $test->run_build_pl();
    $test->run_build_script();
    # test...

"my $test = Test::Module::Build::Pluggable->new()"
"$test->write_file($filename, $src);"
"$test->write_plugin($package, $src);"
"$test->write_manifest();"
Write manifest from file list. The file list means list of file name added by "$test->write_file" and "$test->write_plugin"
"$test->run_build_pl();"
"$test->run_build_script();"
2022-12-11 perl v5.36.0