Name : perl-Test-Mock-Cmd
| |
Version : 0.700.0
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.1.1
| Date : 2024-07-14 20:55:56
|
Group : Unspecified
| Source RPM : perl-Test-Mock-Cmd-0.700.0-lp155.1.1.src.rpm
|
Size : 0.02 MB
| |
Packager : https://www_suse_com/
| |
Summary : Mock system(), exec(), and qx() for testing
|
Description :
Mock system(), exec(), qx() (AKA `` and readpipe()) with your own functions in order to test code that may call them.
Some uses might be:
* 1
avoid actually running the system command, just pretend we did (simulate [un]expected output, return values, etc)
* 2
test various return value handling (e.g. the system command core dumps how does the object handle that)
* 3
test that the arguments that will be passed to a system command are correct
* 4
simulate that really hard to reproduce low level edge case to make sure your code works correctly on affected systems
* 5
etc etc
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/15.5/noarch |