Search results for "module:Test::MockObject"

Test::MockObject - Perl extension for emulating troublesome interfaces River stage three • 251 direct dependents • 499 total dependents

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::MockObject::Extra - A little bit Extra on top of Test::MockObject River stage zero No dependents

This module adds a bit of extra functionality I needed in Test::MockObject. It could probably be rolled into Test::MockObject if the author wants it. Test::MockObject::Extra inherits from Test::MockObject. It overrides fake_module() and adds a new me...

MUTANT/Test-MockObject-Extra-0.001 - 09 Sep 2010 10:56:53 UTC

Test::MockObject::Chain - Perl extension for quickly mocking your terrible law of demeter failing code River stage zero No dependents

Quickly mock out chained objects in your tests. You should probably refactor instead of using this. EXPORT None by default....

JONTAYLOR/Test-MockObject-Chain-1.00 - 04 Jun 2013 12:27:28 UTC

Test::MockObject::Extends - mock part of an object or class River stage three • 251 direct dependents • 499 total dependents

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::EasyMock::MockObject - Mock object. River stage zero No dependents

KISEKI/Test-EasyMock-0.10 - 02 Oct 2013 22:22:59 UTC

Net::DBus::Test::MockObject - Fake an object from the bus for unit testing River stage two • 12 direct dependents • 18 total dependents

This provides an alternate for Net::DBus::Object to enable bus objects to be quickly mocked up, thus facilitating creation of unit tests for services which may need to call out to objects provided by 3rd party services on the bus. It is typically use...

DANBERR/Net-DBus-1.2.0 - 16 Dec 2019 21:39:47 UTC

Test::MockObject::Universal - a truly universal mock object River stage two • 8 direct dependents • 17 total dependents

This class provides a very simple mock object that does not inherit from Test::MockObject. The goal of this module is to be as simple and fast as possible. If you want more functionality you should probably look at Test::MockObject....

TEX/Test-MockObject-Universal-0.11 - 25 Nov 2012 12:42:52 UTC

Test::Spec::RMock::MockObject River stage zero No dependents

KJELLM/Test-Spec-RMock-0.006 - 11 Oct 2012 19:38:44 UTC

Test::Spec::Mocks - Object Simulation Plugin for Test::Spec River stage two • 54 direct dependents • 66 total dependents

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::Object - Dead-simple mocking River stage zero No dependents

Mock objects can be a controversial topic, but sometimes they're very useful. However, mock objects in Perl often come in two flavors: * Incomplete mocks of existing modules * Generic mocks with clumsy interfaces I can never remember This module is m...

OVID/Test-Mock-Object-0.2 - 27 Jan 2022 12:45:11 UTC

Test::Mock::Object::Chain - Create mocked method chains. River stage zero No dependents

For internal use only....

OVID/Test-Mock-Object-0.2 - 27 Jan 2022 12:45:11 UTC

Test::Moose::MockObjectCompile - A Module to help when testing compile time Moose River stage zero No dependents

ZAPHAR/Test-Moose-MockObjectCompile-0.2.1 - 27 Sep 2007 03:44:03 UTC

Test::Mock::Class::Role::Object - Role for base object of mock class River stage one • 3 direct dependents • 3 total dependents

This role provides an API for defining and changing behavior of mock class....

DEXTER/Test-Mock-Class-0.0303 - 01 May 2010 13:58:00 UTC

Test::Builder::Mock::Class::Role::Object - Role for base object of mock class River stage zero No dependents

This role provides an API for changing behavior of mock class....

DEXTER/Test-Builder-Mock-Class-0.0203 - 28 May 2010 23:12:48 UTC

Eve::Test - a base class for all test cases. River stage zero No dependents

Eve::Test class uses the Test::Class module as a base. Each test case that wants to use its functionality should inherit from it. After this it is easy to define setup/teardown, startup/shutdown and test methods. Test methods A test method is specifi...

ZINIGOR/Eve-0.06 - 05 May 2014 10:32:37 UTC

Test::Core - Modern Perl testing with a single import River stage zero No dependents

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::Most - Most commonly needed test functions and features. River stage four • 769 direct dependents • 1618 total dependents

Test::Most exists to reduce boilerplate and to make your testing life easier. We provide "one stop shopping" for most commonly used testing modules. In fact, we often require the latest versions so that you get bug fixes through Test::Most and don't ...

OVID/Test-Most-0.38 - 24 Sep 2022 13:49:17 UTC

Test::Mimic - Perl module for automatic package and object mocking via recorded data. River stage zero No dependents

Test::Mimic allows one to easily mock a package by first recording its behavior and then playing it back. All that is required is to use Test::Mimic prior to loading the real packages and then run the desired program. The first run will be the record...

BRENDAN/Test-Mimic-0.009007 - 04 Dec 2009 01:03:14 UTC

Test::Mocha - Test double framework with method stubs and behaviour verification River stage one • 1 direct dependent • 1 total dependent

Test::Mocha is a test double framework inspired by Java's Mockito. It offers a different approach to other mocking frameworks in that instead of setting up the expected behaviour beforehand you ask questions about interactions after execution of the ...

STEVENL/Test-Mocha-0.67 - 05 Feb 2019 22:00:12 UTC

Test::Shadow - override a class's methods in a scope, checking input/output River stage zero No dependents

OSFAMERON/Test-Shadow-0.0201 - 20 May 2014 03:52:30 UTC
45 results (0.073 seconds)