Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help

The search service can find package by either name (apache), provides(webserver), absolute file names (/usr/bin/apache), binaries (gprof) or shared libraries (libXm.so.2) in standard path. It does not support multiple arguments yet...

The System and Arch are optional added filters, for example System could be "redhat", "redhat-7.2", "mandrake" or "gnome", Arch could be "i386" or "src", etc. depending on your system.

System Arch

RPM resource perl-Test-Magpie

Test::Magpie is a test double framework heavily inspired by the Mockito framework for Java, and also the Python-Mockito project. In Mockito, you "spy" on objects for their behaviour, rather than being upfront about what should happen. I find this approach to be significantly more flexible and easier to work with than mocking systems like EasyMock, so I created a Perl implementation. * Mock objects Mock objects, represented by Test::Magpie::Mock objects, are objects that pretend to be everything you could ever want them to be. A mock object can have any method called on it, does every roles, and isa subclass of any superclass. This allows you to easily throw a mock object around it will be treated as though it was a real object. * Method stubbing Any method can be called on a mock object, and it will be logged as an invocation. By default, method calls return 'undef' in scalar context or an empty list in list context. Often, though, clients will be interested in the result of calling a method with some arguments. So you may specify how a method stub should respond when it is called. * Verify interactions After calling your concrete code (the code under test) you may want to check that the code did operate correctly on the mock. To do this, you can use verifications to make sure code was called, with correct parameters and the correct amount of times. * Argument matching Magpie gives you some helpful methods to validate arguments passed in to calls. You can check equality between arguments, or consume a general type of argument, or consume multiple arguments. See Test::Magpie::ArgumentMatcher for the juicy details.

Found 1 sites for perl-Test-Magpie

Found 5 RPM for perl-Test-Magpie

PackageSummaryDistributionDownload
perl-Test-Magpie-0.11-1.17.noarch.htmlMocking framework with method stubs and behaviour verificationOpenSuSE Tumbleweed for noarchperl-Test-Magpie-0.11-1.17.noarch.rpm
perl-Test-Magpie-0.11-1.14.noarch.htmlMocking framework with method stubs and behaviour verificationOpenSuSE Ports Tumbleweed for noarchperl-Test-Magpie-0.11-1.14.noarch.rpm
Mocking framework with method stubs and behaviour verificationperl-Test-Magpie-0.11-1.8.noarch.rpm
perl-Test-Magpie-0.11-bp156.2.1.noarch.htmlMocking framework with method stubs and behaviour verificationOpenSuSE Leap 15.6 for noarchperl-Test-Magpie-0.11-bp156.2.1.noarch.rpm
perl-Test-Magpie-0.11-bp155.1.4.noarch.htmlMocking framework with method stubs and behaviour verificationOpenSuSE Leap 15.5 for noarchperl-Test-Magpie-0.11-bp155.1.4.noarch.rpm

Generated by rpm2html 1.6

Fabrice Bellet