Filewatcher File Search File Search
Catalog
Content Search
» » » » » »

perl-Test-MockModule

Override subroutines in a module for unit testing

Override subroutines in a module for unit testing.
Homepage:
Package version:0.05
Architecture:noarch
Distribution:Fedora
Filename:perl-Test-MockModule-0.05-5.el4.noarch.rpm

/usr/share/doc/perl-Test-MockModule-0.05/README

Test::MockModule - mock subroutines in a module

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

QUICK START:

commands in the source directory:

    perl Makefile.PL
    make
    make test
    make install
    Then delete the source directory tree since it's no longer needed.

    run 'perldoc Test::MockModule' to read the full documentation.


/usr/share/man/man3/Test::MockModule.3pm.gz

Test::MockModule(User Contributed Perl DocumentatTest::MockModule(3)



NAME
       Test::MockModule - Override subroutines in a module for unit
       testing

SYNOPSIS
          use Module::Name;
          use Test::MockModule;

          {
              my $module = new Test::MockModule('Module::Name');
              $module->mock('subroutine', sub { ... });
              Module::Name::subrouti
more»

/usr/share/doc/perl-Test-MockModule-0.05/Changes

Revision history for Test::MockModule
$Id: Changes,v 1.5 2005/03/24 22:23:38 simonflack Exp $

v0.05 2004-03-24
    - unmock() accepts a list of subroutines to unmock. Thanks to David Wheeler
      for the suggestion and patch
    - Added t/pod_coverage.t

v0.04  2004-12-12
    - You can now mock a subroutine with a scalar value or a reference
      (install sub that returns the value). Thanks to 
more»

Browse inside perl-Test-MockModule-0.05-5.el4.noarch.rpm

791 B2014-11-27HEADER  view  1042+ mirrors
         [DIR]usr/ (2)  65535+ mirrors

Download perl-Test-MockModule-0.05-5.el4.noarch.rpm

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com