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

perl-Test-MockObject

Highly polymorphic testing object

Test::MockObject is a highly polymorphic testing object, capable of looking like all sorts of objects. This makes white-box testing much easier, as you can concentrate on what the code being tested sends to and receives from the mocked object, instead of worrying about faking up your own data. (Another option is not to test difficult things. Now you have no excuse.)
Homepage:
Package version:1.09
Architecture:noarch
Distribution:RPMForge
Filename:perl-Test-MockObject-1.09-1.el5.rf.noarch.rpm

/usr/share/doc/perl-Test-MockObject-1.09/README

Test::MockObject version 1.09
=============================

* NOTES *

Because you can break this module very badly by using the isa() and can()
methods as if they were functions, version 1.01 started to use the
UNIVERSAL::isa and UNIVERSAL::can modules.  They'll do the right thing but
complain about it so that you can fix the offending code.  These require Perl
5.6.0 or better.

Newer versions o
more»

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

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



NAME
       Test::MockObject - Perl extension for emulating troublesome
       interfaces

SYNOPSIS
         use Test::MockObject;
         my $mock = Test::MockObject->new();
         $mock->set_true( 'somemethod' );
         ok( $mock->somemethod() );

         $mock->set_true( 'veritas')
                ->set_false( 'ficta'
more»

/usr/share/man/man3/Test::MockObject::Extends.3pm.gz

Test::MockObject:UsereContributed Perl DTest::MockObject::Extends(3)



NAME
       Test::MockObject::Extends - mock part of an object or class

SYNOPSIS
         use Some::Class;
         use Test::MockObject::Extends;

         # create an object to mock
         my $object      = Some::Class->new();

         # wrap that same object with a mocking wrapper
         $object         = Test::MockOb
more»

/usr/share/doc/perl-Test-MockObject-1.09/Changes

Revision history for Perl extension Test::MockObject.

1.09
    Tue May 27 06:11:24 UTC 2008 ($Rev$,
more»

Browse inside perl-Test-MockObject-1.09-1.el5.rf.noarch.rpm

1.01 KB2014-11-27HEADER  view  214+ mirrors
         [DIR]usr/ (2)  65535+ mirrors

Download perl-Test-MockObject-1.09-1.el5.rf.noarch.rpm

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