p5-Test-MockModule-0.171.0.tgz


Advertisement

Description

p5-Test-MockModule - Perl 5 module to override subroutines in a module for unit testing

Property Value
Distribution NetBSD 8.1
Repository NetBSD i386
Package filename p5-Test-MockModule-0.171.0.tgz
Package name p5-Test-MockModule
Package version 0.171.0
Package release -
Package architecture i386
Package type tgz
Category devel net perl5
Homepage https://metacpan.org/release/Test-MockModule
License gnu-gpl-v3
Maintainer -
Download size 10.62 KB
Installed size 28.41 KB
The Perl 5 module Test::MockModule lets you temporarily redefine
subroutines in other packages for the purposes of unit testing.
A Test::MockModule object is set up to mock subroutines for a given
module. The object remembers the original subroutine so it can be
easily restored. This happens automatically when all MockModule
objects for the given module go out of scope, or when you unmock()
the subroutine.

Alternatives

Package Version Architecture Repository
p5-Test-MockModule-0.171.0.tgz 0.171.0 amd64 NetBSD
p5-Test-MockModule - - -

Requires

Name Value
perl >= 5.30.0 < 5.32.0

Download

Type URL
Mirror ftp.netbsd.org
Binary Package p5-Test-MockModule-0.171.0.tgz
Source Package p5-Test-MockModule

Install Howto

Install p5-Test-MockModule tgz package:

# pkg_add p5-Test-MockModule

See Also

Package Description
p5-Test-MockObject-1.20191002.tgz Perl extension for emulating troublesome interfaces
p5-Test-MockTime-0.17nb2.tgz Replaces actual time with simulated time
p5-Test-Modern-0.013nb4.tgz Precision testing for modern perl
p5-Test-More-Behaviour-1.0.1nb8.tgz BDD module for Perl modeled after Rspec
p5-Test-More-UTF8-0.05nb2.tgz Enhancing Test::More for UTF8-based projects
p5-Test-Most-0.35nb3.tgz Most commonly needed test functions and features
p5-Test-Needs-0.002006nb1.tgz Skip tests when modules not available
p5-Test-NiceDump-1.0.1.tgz Let's have a nice and human readable dump of our objects!
p5-Test-NoTabs-2.02nb2.tgz Check the presence of tabs in your project
p5-Test-NoWarnings-1.04nb9.tgz Make sure tests of Perl5 modules did not emit any warnings
p5-Test-Number-Delta-1.06nb5.tgz Compare the difference between numbers against a given tolerance
p5-Test-Object-0.08nb2.tgz Perl 5 module to thoroughly test objects
p5-Test-Output-1.03.1nb3.tgz Utilities to test STDOUT and STDERR messages
p5-Test-POE-Client-TCP-1.26nb1.tgz POE Component providing TCP client services for test cases
p5-Test-POE-Server-TCP-1.20nb3.tgz POE Component providing TCP server services for tests
Advertisement
Advertisement