The official source of perl's Test::MockModule
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ci
lib/Test
t
.gitignore
.travis.yml
Build.PL
Changes
LICENSE
MANIFEST.SKIP
README.md

README.md

Test::MockModule - mock subroutines in a module

See the LICENSE section in lib/Test/MockModule.pm for usage and distribution rights.

Installation

Run these commands in the source directory:

perl Build.PL
./Build
./Build test
./Build install

Then delete the source directory tree since it's no longer needed.

Alternatively, you can simply install the module via cpanm:

cpanm Test::MockModule

Documentation

Run perldoc Test::MockModule to read the full documentation.