The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Search results for "MOCK"

DBD::Mock - Mock database driver for testing River stage two • 26 direct dependents • 51 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 - Search in distribution

DBI::Mock - mock a DBI if we can't find the real one River stage zero No dependents

REHSACK/DBI-Test-0.001 - 06 Aug 2013 08:25:12 UTC - Search in distribution

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 - Search in distribution

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 - Search in distribution

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 - Search in distribution

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

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

Mock::Quick - Quickly mock objects and classes, even temporarily replace them, side-effect free. River stage two • 20 direct dependents • 48 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 - Search in distribution

Test2::Mock - Module for managing mocked classes and instances. River stage four • 921 direct dependents • 6519 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 - Search in distribution

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 - Search in distribution

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 - Search in distribution

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

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

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 - Search in distribution

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 - Search in distribution

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 - Search in distribution

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 - Search in distribution

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 - Search in distribution

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

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

Mock::Net::Ping - Mock Net::Ping's ping method River stage zero No dependents

This module mocks Net::Ping by overriding the methods. Currently ping is the only method supported. Functions $p->ping($host [, $timeout]); Pretend to ping the remote host and wait for a response. $host can be either the hostname or the IP number of ...

MMUSGROVE/Mock-Net-Ping-0.09 - 18 Aug 2014 19:19:10 UTC - Search in distribution

Test::Mock::Cmd - Mock system(), exec(), and qx() for testing River stage one • 6 direct dependents • 6 total dependents

Mock system(), exec(), qx() (AKA `` and readpipe()) with your own functions in order to test code that may call them. Some uses might be: 1 avoid actually running the system command, just pretend we did (simulate [un]expected output, return values, e...

DMUEY/Test-Mock-Cmd-0.7 - 15 Dec 2016 16:27:56 UTC - Search in distribution
358 results (0.104 seconds)