logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Test::MockFile::Plugin - Plugin base class

Description

       Test::MockFile::Plugin is an abstract base class for Test::MockFile plugins.

Methods

new(%opts)
       Constructor provided to all Plugin packages so they have a location to store their internal data.

   register
         $plugin->register();

       This method will be called by Test::MockFile::Plugins on imports.

Name

       Test::MockFile::Plugin - Plugin base class

See Also

       Test::MockFile

perl v5.40.1                                       2025-05-16                        Test::MockFile::Plugin(3pm)

Synopsis

         package Test::MockFile::Plugin::YourCustomPlugin;

         use base 'Test::MockFile::Plugin';

         sub register {

           my ( $self ) = @_;

           # Code to setup your plugin here
           ...
         }

See Also