Fedora 22 Update: perl-Mock-Sub-1.06-1.fc22

updates at fedoraproject.org updates at fedoraproject.org
Tue Feb 2 23:53:54 UTC 2016


--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2016-b5d6dd8c04
2016-02-02 19:31:11.890162
--------------------------------------------------------------------------------

Name        : perl-Mock-Sub
Product     : Fedora 22
Version     : 1.06
Release     : 1.fc22
URL         : http://search.cpan.org/dist/Mock-Sub/
Summary     : Mock package, object and standard subroutines, with unit testing in mind
Description :
Easy to use and very lightweight module for mocking out sub calls. Very
useful for testing areas of your own modules where getting coverage may
be difficult due to nothing to test against, and/or to reduce test run
time by eliminating the need to call subs that you really don't want or
need to test.

--------------------------------------------------------------------------------
Update Information:

1.06    xxx  - new remock() method does what Child::mock() used to do. -
Child::mock() renamed to Child::_mock(), and is now private (fixes #17) - more
documentation cleanup   1.05    2016-01-22  - added tests for mocked_objects() -
Child.pm now has basic pod (mostly to satisfy pod tests) (closes #15) - added
.list to MANIFEST.SKIP to ignore RHEL vendor specific build files (reported by
Denis Fateyev) (also #15) - this was previously fixed (closes #13)   1.04
2016-01-08  - MANIFEST updates   1.03    2015-12-10  - completely reworked
distribution into two modules (parent and Child) - we now have the ability to
mock out CORE::GLOBAL functions (eg: caller()). You MUST do the mock within a
BEGIN block
--------------------------------------------------------------------------------
References:

  [ 1 ] Bug #1301285 - Review Request: perl-Mock-Sub - Mock package, object and standard subroutines, with unit testing in mind
        https://bugzilla.redhat.com/show_bug.cgi?id=1301285
--------------------------------------------------------------------------------

This update can be installed with the "yum" update program. Use
su -c 'yum update perl-Mock-Sub' at the command line.
For more information, refer to "Managing Software with yum",
available at https://docs.fedoraproject.org/yum/.

All packages are signed with the Fedora Project GPG key.  More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
--------------------------------------------------------------------------------


More information about the package-announce mailing list