Path to this page:
Next | Query returned 3 messages, browsing 1 to 10 | previous
CVS Commit History:
2024-11-16 13:08:07 by Thomas Klausner | Files touched by this commit (2504) |
Log message:
*: recursive bump for perl 5.40
|
2024-02-15 22:42:49 by Thomas Klausner | Files touched by this commit (1) |
Log message:
p5-Test-Mock-Cmd: fix MASTER_SITES
|
2024-02-10 02:15:39 by Amitai Schleier | Files touched by this commit (3) |
Log message:
Add p5-Test-Mock-Cmd: Mock system(), exec(), and qx() for testing
Mock system(), exec(), qx() (AKA `` and readpipe()) with your own
functions in order to test code that may call them.
Some uses might be:
- avoid actually running the system command, just pretend we did
(simulate [un]expected output, return values, etc)
- test various return value handling (e.g. the system command core dumps
how does the object handle that)
- test that the arguments that will be passed to a system command
are correct
- simulate that really hard to reproduce low level edge case to make
sure your code works correctly on affected systems
- etc etc
|
Next | Query returned 3 messages, browsing 1 to 10 | previous