libtest-mockmodule-perl_0.05-2_all.deb


Advertisement

Description

libtest-mockmodule-perl - Perl module to override subroutines in a module for unit testing

Distribution: Debian 8 (Jessie)
Repository: Debian Main amd64
Package name: libtest-mockmodule-perl
Package version: 0.05
Package release: 2
Package architecture: all
Package type: deb
Installed size: 64 B
Download size: 8.79 KB
Official Mirror: ftp.br.debian.org
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

Requires

    Download

    Source package: libtest-mockmodule-perl

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install libtest-mockmodule-perl deb package:
      # sudo apt-get install libtest-mockmodule-perl

    Files

    • /usr/share/doc/libtest-mockmodule-perl/changelog.Debian.gz
    • /usr/share/doc/libtest-mockmodule-perl/changelog.gz
    • /usr/share/doc/libtest-mockmodule-perl/copyright
    • /usr/share/man/man3/Test::MockModule.3pm.gz
    • /usr/share/perl5/Test/MockModule.pm

    Changelog

    2009-07-21 - Ansgar Burchardt <ansgar@43-1.org> libtest-mockmodule-perl (0.05-2) unstable; urgency=low [ Damyan Ivanov ] * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser field (source stanza); Homepage field (source stanza). Changed: Maintainer set to Debian Perl Group <pkg-perl- maintainers@lists.alioth.debian.org> (was: Ben Hutchings <ben@decadentplace.org.uk>); Ben Hutchings <ben@decadentplace.org.uk> moved to Uploaders. * Add debian/watch. * remove Homepage from long description; Homepage: field already present [ gregor herrmann ] * debian/control: Changed: Switched Vcs-Browser field to ViewSVN (source stanza). * debian/control: Added: ${misc:Depends} to Depends: field. [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ Ansgar Burchardt ] * Refresh rules for debhelper 7. * Move debhelper to Build-Depends. * Add myself to Uploaders. * Bump Standards-Version to 3.8.2. * Convert debian/copyright to proposed machine-readable format. [ gregor herrmann ] * debian/control: make short description a noun phrase.

    2005-12-31 - Ben Hutchings <ben@decadentplace.org.uk> libtest-mockmodule-perl (0.05-1) unstable; urgency=low * Initial release - closes: #345397

    Advertisement
    Advertisement