Test::MockModule - Override subroutines in a module for unit testing River stage three • 127 direct dependents • 226 total dependents

"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::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::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

Test::Ratchet - Mocking helper that swaps out implementations automatically River stage zero No dependents

Testing sucks, especially when you have to deal with third-party code, especially when you didn't have a choice about which third-party code you are relying on. This module solves one specific difficulty of doing so: when you have an atomic operation...

ALTREUS/Test-Ratchet-0.005 - 20 Apr 2020 13:48:47 UTC

Test::CallFlow - trivial planning of sub call flows for fast unit test writing. River stage zero No dependents

KORPIQ/Test-CallFlow-0.03 - 25 Jan 2009 11:10:21 UTC

Test::MockObject - Perl extension for emulating troublesome interfaces River stage three • 242 direct dependents • 479 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::MockRandom - Replaces random number generation with non-random number generation River stage two • 4 direct dependents • 19 total dependents

This perhaps ridiculous-seeming module was created to test routines that manipulate random numbers by providing a known output from "rand". Given a list of seeds with "srand", it will return each in turn. After seeded random numbers are exhausted, it...

DAGOLDEN/Test-MockRandom-1.01 - 08 Feb 2014 10:54:36 UTC

Test::Class::Tiny - xUnit in Perl, simplified River stage one • 2 direct dependents • 2 total dependents

Test::Class has served Perl’s xUnit needs for a long time but is incompatible with the Test2 framework. This module allows for a similar workflow but in a way that works with both Test2 and the older, Test::Builder-based modules. POD ERRORS Hey! The ...

FELIPE/Test-Class-Tiny-0.03 - 03 May 2020 15:10:13 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.1 - 12 Nov 2021 15:53:01 UTC

Test::Module::Runnable - A runnable framework on Moose for running tests River stage zero No dependents

A test framework based on Moose introspection to automagically call all methods matching a user-defined pattern. Supports per-test setup and tear-down routines and easy early "BAIL_OUT" in Test::Builder using Test::More....

DDRP/Test-Module-Runnable-0.4.2 - 08 Sep 2019 14:57:43 UTC

Test::EasyMock::MockControl::Class - Control behavior of the class method mocking. River stage zero No dependents

KISEKI/Test-EasyMock-0.10 - 02 Oct 2013 22:22:59 UTC
11 results (0.03 seconds)