Perl extension for emulating troublesome interfaces
http://search.cpan.org/dist/Test-MockObject/
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.
- Devel package for openSUSE:Factory
-
3
derived packages
- Links to openSUSE:Factory / perl-Test-MockObject
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:perl/perl-Test-MockObject && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Test-MockObject-1.20200122.tar.gz | 0000030294 29.6 KB | |
cpanspec.yml | 0000000547 547 Bytes | |
perl-Test-MockObject.changes | 0000003258 3.18 KB | |
perl-Test-MockObject.spec | 0000002680 2.62 KB |
Revision 19 (latest revision is 20)
Dirk Stoecker (dstoecker)
accepted
request 766542
from
Tina Müller (tinita)
(revision 19)
- updated to 1.20200122 see /usr/share/doc/packages/perl-Test-MockObject/Changes 1.20200122 2020-01-22 10:47:03-08:00 America/Los_Angeles - allow mock() to mock multiple methods at once (GH PR #19, Felipe Gaspar) - tidy up dist metadata (GH PR #18, Mohammad S. Anwar)
Comments 0