The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Search results for "module:Mock"

Mock::Sub - Mock package, object and standard subroutines, with unit testing in mind. River stage two • 15 direct dependents • 28 total dependents

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 cal...

STEVEB/Mock-Sub-1.09 - 28 Dec 2017 20:08:36 UTC

JIP::Mock - Override subroutines in a module River stage zero No dependents

VLADIMIRZ/JIP-Mock-v0.0.4 - 25 May 2023 17:54:44 UTC

DBD::Mock - Mock database driver for testing River stage two • 24 direct dependents • 50 total dependents

Testing with databases can be tricky. If you are developing a system married to a single database then you can make some assumptions about your environment and ask the user to provide relevant connection information. But if you need to test a framewo...

JLCOOPER/DBD-Mock-1.59 - 22 Feb 2021 13:26:56 UTC

Mock::Data - Extensible toolkit for generating mock data River stage zero No dependents

This module is a generator of mock data. It takes good ideas seen in Data::Faker, Mock::Populate, and other similar modules, and combines them into a cohesive extensible design. Each mock data generator is called as a method on an instance of "Mock::...

NERDVANA/Mock-Data-0.03 - 25 Sep 2021 18:50:13 UTC

Time::Mock - shift and scale time River stage zero No dependents

EWILHELM/Time-Mock-v0.0.2 - 15 Jul 2009 18:43:54 UTC

Test2::Mock - Module for managing mocked classes and instances. River stage four • 727 direct dependents • 6230 total dependents

This module lets you add and override methods for any package temporarily. When the instance is destroyed it will restore the package to its original state....

EXODIST/Test2-Suite-0.000162 - 25 Apr 2024 14:00:32 UTC

Win32::Mock - Mock Win32 modules River stage zero No dependents

"Win32::Mock" provides mocked version of Win32 modules and functions so programs and modules with Win32 specific code can be tested on any operating system....

SAPER/Win32-Mock-0.05 - 27 Mar 2008 01:20:52 UTC

Mock::Quick - Quickly mock objects and classes, even temporarily replace them, side-effect free. River stage two • 20 direct dependents • 49 total dependents

Mock-Quick is here to solve the current problems with Mocking libraries. There are a couple Mocking libraries available on CPAN. The primary problems with these libraries include verbose syntax, and most importantly side-effects. Some Mocking librari...

EXODIST/Mock-Quick-1.111 - 26 May 2016 14:24:36 UTC

Mock::Person - generates random last, first and middle name of person. River stage one • 3 direct dependents • 3 total dependents

BESSARABV/Mock-Person-1.1.0 - 13 Dec 2013 00:58:46 UTC

Mock::Apache - mock Apache environment for testing and debugging River stage zero No dependents

"Mock::Apache" is a mock framework for testing and debugging mod_perl 1.x applications. Although that version of mod_perl is obsolete, there is still a lot of legacy code that uses it. The framework is intended to assist in understanding such code, b...

ANDREWF/Mock-Apache-0.09 - 20 Nov 2013 16:36:44 UTC

Mock::Config - temporarily set Config or XSConfig values River stage three • 1 direct dependent • 584 total dependents

RURBAN/Mock-Config-0.03 - 18 Apr 2016 12:12:08 UTC

Mock::Populate - Mock data creation River stage zero No dependents

This is a set of functions for mock data creation. No functions are exported, so use the entire "Mock::Populate::*" namespace when calling each. Each function produces a list of elements that can be used as database columns. The handy "collate()" fun...

GENE/Mock-Populate-0.1702 - 23 Oct 2022 18:44:58 UTC

Mock::MonkeyPatch - Monkey patching with test mocking in mind River stage two • 8 direct dependents • 10 total dependents

Mocking is a common tool, especially for testing. By strategically replacing a subroutine, one can isolate segments (units) of code to test individually. When this is done it is important to know that the mocked sub was actually called and with what ...

JBERGER/Mock-MonkeyPatch-1.02 - 26 Aug 2020 21:50:10 UTC

Test::Mock::Wrapper River stage zero No dependents

This is another module for mocking objects in perl. It will wrap around an existing object, allowing you to mock any calls for testing purposes. It also records the arguments passed to the mocked methods for later examination. The verification method...

PERLJEDI/Test-Mock-Wrapper-0.18 - 10 May 2016 13:18:49 UTC

Web::API::Mock - It's new $module River stage zero No dependents

See README.md ......

AKIHITO/Web-API-Mock-0.01 - 25 Feb 2015 10:41:25 UTC

Fey::ORM::Mock - Mock Fey::ORM based classes so you can test without a DBMS River stage zero No dependents

This class lets you mock a set of "Fey::ORM" based classes. You can seed data for each class's constructor, as well as track all inserts, update, and deletes for each class. This is all done at a higher level than is possible just using "DBD::Mock". ...

DROLSKY/Fey-ORM-Mock-0.06 - 22 Dec 2013 18:10:43 UTC

Net::FTP::Mock - test code using Net::FTP without having an FTP server River stage zero No dependents

Net::FTP::Mock is designed to make code using Net::FTP testable without having to set up actual FTP servers. When calling its import(), usually by way of use, you can pass it a hash detailing virtual servers, their accounts, as well as directories th...

MITHALDU/Net-FTP-Mock-0.103300 - 26 Nov 2010 11:49:07 UTC

Evo::Test::Mock River stage one • 1 direct dependent • 1 total dependent

ALEXBYK/Evo-0.0405 - 18 Jul 2017 22:54:34 UTC

Mock::Data::Set - Generator which returns one item from a set River stage zero No dependents

This object selects a random element from a list. All items are equal probability unless "weights" are specified to change the probability. The items of the list may be values or generator objects. Plain coderefs are also considered values, not gener...

NERDVANA/Mock-Data-0.03 - 25 Sep 2021 18:50:13 UTC

Test::Mock::One - Mock the world with one object River stage one • 4 direct dependents • 4 total dependents

Be able to mock many things with little code by using AUTOLOAD. The problem this module tries to solve is to allow testing many things without having to write many lines of code. If you want to create mock objects you often need to write code like th...

WATERKIP/Test-Mock-One-0.011 - 13 Aug 2018 11:16:04 UTC
226 results (0.022 seconds)