Search results for "module:Test::MockObject::Extends"
Test::MockObject::Extends - mock part of an object or class
Test::MockObject::Extends lets you mock one or more methods of an existing object or class. This can be very handy when you're testing a well-factored module that does almost exactly what you want. Wouldn't it be handy to take control of a method or ...
CHROMATIC/Test-MockObject-1.20200122 - 22 Jan 2020 18:48:26 UTC
Test::Core - Modern Perl testing with a single import
Test::Core provides the best testing harness of Modern Perl in a single, user-friendly import. It builds off of Test::Modern while also providing clean interfaces to dumping and mocking facilities from other libraries. Test::Core also automatically i...
AANARI/Test-Core-0.0200 - 10 Jul 2015 20:59:42 UTC
Test::MockClass - A module to provide mock classes and mock objects for testing
This module provides a simple interface for creating mock classes and mock objects with mock methods for mock purposes, I mean testing purposes. It also provides a simple mechanism for tracking the interactions to the mocked objects. I originally wro...
JJORDAN/Test-MockClass-1.05 - 25 Jan 2010 07:35:23 UTC
Test::MockObject - Perl extension for emulating troublesome interfaces
It's a simple program that doesn't use any other modules, and those are easy to test. More often, testing a program completely means faking up input to another module, trying to coax the right output from something you're not supposed to be testing a...
CHROMATIC/Test-MockObject-1.20200122 - 22 Jan 2020 18:48:26 UTC
Test::MonkeyMock - Usable mock class
Why? I used and still use Test::MockObject and Test::MockObject::Extends a lot but sometimes it behaves very strangely introducing hard to find global bugs in the test code, which is very painful, since the test suite should have as least bugs as pos...
VTI/Test-MonkeyMock-0.12 - 13 Nov 2019 09:34:30 UTC
Test::MockModule - Override subroutines in a module for unit testing
"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 e...
GFRANKS/Test-MockModule-v0.177.0 - 07 Sep 2021 16:31:00 UTC
Test::Spec::Mocks - Object Simulation Plugin for Test::Spec
Test::Spec::Mocks is a plugin for Test::Spec that provides mocking and stubbing of objects, individual methods and plain subroutines on both object instances and classes. This module is inspired by and heavily borrows from Mocha, a library for the Ru...
AKZHAN/Test-Spec-0.54 - 21 Nov 2017 10:08:54 UTC
Test::Mock::Class - Simulating other classes
In a unit test, mock objects can simulate the behavior of complex, real (non-mock) objects and are therefore useful when a real object is impractical or impossible to incorporate into a unit test. The unique features of "Test::Mock::Class": * Its API...
DEXTER/Test-Mock-Class-0.0303 - 01 May 2010 13:58:00 UTC
Test::Class::Simple - Simplify your unit tests writing based on Test::Class
This is an extension of Test::Class <https://metacpan.org/pod/Test::Class> module to implement unit tests in more simple and declarative way. Methods pre_setup() Can be overridden. Method that is executed before every test method and is useful for so...
OKYSIL/Test-Class-Simple-0.06 - 01 May 2020 08:10:18 UTC
Test::Mock::Net::SNMP - Perl extension for mocking Net::SNMP in your unit tests.
Test::Mock::Net::SNMP is a simple way to mock a Net::SNMP object and allows you to test your modules behaviour when retrieving SNMP data or sending SNMP traps....
ROBH/Test-Mock-Net-SNMP-1.02 - 12 Apr 2013 11:33:36 UTC
Test::Builder::Mock::Class - Simulating other classes for Test::Builder
This module adds support for standard Test::Builder framework (Test::Simple or Test::More) to Test::Mock::Class. Mock class can be used to create mock objects which can simulate the behavior of complex, real (non-mock) objects and are therefore usefu...
DEXTER/Test-Builder-Mock-Class-0.0203 - 28 May 2010 23:12:48 UTC