perl-test-mockobject
Perl - Test::MockObject
3.4.0
2024-01-19
eisfair-noarch
the eisfair team, team(at)eisfair(dot)org
stable
perl 3.4.0
perl-universal-can 3.4.0
perl-universal-isa 3.4.0
Internal Program Version: perl-test-mockobject 1.20200122.5.38.2
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 anyway.
Testing is a lot easier when you can control the entire environment. With
Test::MockObject, you can get a lot closer.
Test::MockObject allows you to create objects that conform to particular
interfaces with very little code. You don't have to reimplement the
behavior, just the input and the output.
https://metacpan.org/release/Test-MockObject