Re: Can Test::MockObject mock a file?
Sep 19, 2020 at 23:37 UTC
in reply to
Can Test::MockObject mock a file?
exists. Also, file handles can be "mocked" using
and implementing a
file handle interface, if one doesn't exist. See
is also used extensively in testing scenarios, as mentioned already.
Seekers of Perl Wisdom