devel/p5-Test-MockModule - The NetBSD Packages Collection

Perl 5 module to override subroutines in a module for unit testing

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.

Build dependencies

devel/p5-Module-Build pkgtools/cwrappers

Runtime dependencies

devel/p5-SUPER lang/perl5 lang/perl5

Binary packages

OSArchitectureVersion
NetBSD 8.0earmv7hfp5-Test-MockModule-0.175.0.tgz
NetBSD 8.0earmv7hfp5-Test-MockModule-0.175.0.tgz
NetBSD 8.0earmv7hfp5-Test-MockModule-0.175.0.tgz
NetBSD 8.0i386p5-Test-MockModule-0.175.0.tgz
NetBSD 8.0i386p5-Test-MockModule-0.175.0.tgz
NetBSD 8.0powerpcp5-Test-MockModule-0.175.0.tgz
NetBSD 8.0powerpcp5-Test-MockModule-0.175.0.tgz
NetBSD 8.0powerpcp5-Test-MockModule-0.175.0.tgz
NetBSD 8.0x86_64p5-Test-MockModule-0.175.0.tgz
NetBSD 8.0x86_64p5-Test-MockModule-0.175.0.tgz
NetBSD 9.0aarch64p5-Test-MockModule-0.175.0.tgz
NetBSD 9.0aarch64p5-Test-MockModule-0.175.0.tgz
NetBSD 9.0aarch64p5-Test-MockModule-0.175.0.tgz
NetBSD 9.0alphap5-Test-MockModule-0.175.0.tgz
NetBSD 9.0alphap5-Test-MockModule-0.175.0.tgz
NetBSD 9.0alphap5-Test-MockModule-0.175.0.tgz
NetBSD 9.0earmp5-Test-MockModule-0.175.0.tgz
NetBSD 9.0earmp5-Test-MockModule-0.175.0.tgz
NetBSD 9.0earmp5-Test-MockModule-0.175.0.tgz
NetBSD 9.0earmv6hfp5-Test-MockModule-0.175.0.tgz
NetBSD 9.0earmv6hfp5-Test-MockModule-0.175.0.tgz
NetBSD 9.0earmv6hfp5-Test-MockModule-0.175.0.tgz
NetBSD 9.0earmv6hfp5-Test-MockModule-0.175.0.tgz
NetBSD 9.0earmv7hfp5-Test-MockModule-0.175.0.tgz
NetBSD 9.0earmv7hfp5-Test-MockModule-0.175.0.tgz
NetBSD 9.0earmv7hfp5-Test-MockModule-0.175.0.tgz
NetBSD 9.0earmv7hfp5-Test-MockModule-0.175.0.tgz
NetBSD 9.0i386p5-Test-MockModule-0.175.0.tgz
NetBSD 9.0i386p5-Test-MockModule-0.175.0.tgz
NetBSD 9.0mips64ebp5-Test-MockModule-0.175.0.tgz
NetBSD 9.0mips64ebp5-Test-MockModule-0.175.0.tgz
NetBSD 9.0mips64ebp5-Test-MockModule-0.175.0.tgz
NetBSD 9.0mipselp5-Test-MockModule-0.175.0.tgz
NetBSD 9.0mipselp5-Test-MockModule-0.175.0.tgz
NetBSD 9.0powerpcp5-Test-MockModule-0.175.0.tgz
NetBSD 9.0powerpcp5-Test-MockModule-0.175.0.tgz
NetBSD 9.0sh3elp5-Test-MockModule-0.175.0.tgz
NetBSD 9.0sh3elp5-Test-MockModule-0.175.0.tgz
NetBSD 9.0sparc64p5-Test-MockModule-0.175.0.tgz
NetBSD 9.0sparc64p5-Test-MockModule-0.172.0.tgz
NetBSD 9.0sparc64p5-Test-MockModule-0.175.0.tgz
NetBSD 9.0sparc64p5-Test-MockModule-0.175.0.tgz
NetBSD 9.0sparcp5-Test-MockModule-0.175.0.tgz
NetBSD 9.0sparcp5-Test-MockModule-0.175.0.tgz
NetBSD 9.0sparcp5-Test-MockModule-0.175.0.tgz
NetBSD 9.0vaxp5-Test-MockModule-0.175.0.tgz
NetBSD 9.0vaxp5-Test-MockModule-0.175.0.tgz
NetBSD 9.0x86_64p5-Test-MockModule-0.175.0.tgz
NetBSD 9.0x86_64p5-Test-MockModule-0.175.0.tgz
NetBSD 9.0x86_64p5-Test-MockModule-0.175.0.tgz
NetBSD 9.0x86_64p5-Test-MockModule-0.175.0.tgz
NetBSD 9.0x86_64p5-Test-MockModule-0.175.0.tgz
NetBSD 9.0x86_64p5-Test-MockModule-0.175.0.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.