The following module was proposed for inclusion in the Module List:
modid: Test::Mock::Net::SNMP
DSLIP: RdpOp
description: Mock Net::SNMP
userid: ROBH (Robert Halliday)
chapterid: 3 (Development_Support)
communities:
https://github.com/rhalliday/Test-Mock-Net-SNMP
similar:
Test::MockObject::Extends, Net::SNMP
rationale:
This module mocks Net::SNMP. There are already other modules that
mock other modules that are currently at the Test::Mock level. There
is even a Test::Mock::Net::LDAP at the Test::Mock::Net level.
I use Net::SNMP a lot and found that I was writing the same code
again and again to mock my interaction with the module in my unit
tests. This module makes that interaction much simpler and a lot
easier to reproduce. It also makes testing the interaction between
my code and the Net::SNMP module a lot easier.
enteredby: ROBH (Robert Halliday)
enteredon: Thu Apr 11 19:48:14 2013 GMT
The resulting entry would be:
Test::Mock::Net::
::SNMP RdpOp Mock Net::SNMP ROBH
Thanks for registering,
--
The PAUSE
PS: The following links are only valid for module list maintainers:
Registration form with editing capabilities:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=eec00000_50a07261e60ead21&SUBMIT_pause99_add_mod_preview=1
Immediate (one click) registration:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=eec00000_50a07261e60ead21&SUBMIT_pause99_add_mod_insertit=1
Peek at the current permissions:
https://pause.perl.org/pause/authenquery?pause99_peek_perms_by=me&pause99_peek_perms_query=Test%3A%3AMock%3A%3ANet%3A%3ASNMP