Name : perl-Test-AutoMock
| |
Version : 0.04
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp154.1.1
| Date : 2023-01-27 17:30:59
|
Group : Development/Libraries/Perl
| Source RPM : perl-Test-AutoMock-0.04-lp154.1.1.src.rpm
|
Size : 0.07 MB
| |
Packager : https://www_suse_com/
| |
Summary : Mock that can be used with a minimum setup
|
Description :
Test::AutoMock is a mock module designed to be used with a minimal setup. AutoMock can respond to any method call and returns a new AutoMock instance as a return value. Therefore, you can use it as a mock object without having to define all the methods. Even if method calls are nested, there is no problem.
AutoMock records all method calls on all descendants. You can verify the method calls and its arguments after using the mock. This is not the \"record and replay\" model but the \"action and assertion\" model.
You can also mock many overloaded operators and hashes, arrays with Test::AutoMock::Mock::Overloaded. If you want to apply monkey patch to use AutoMock, check Test::AutoMock::Patch.
Test::AutoMock is inspired by Python3\'s unittest.mock module.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/15.4/noarch |