Is it possible to add a mock to path? I have a script that calls i.e. the Linux ip command, I want to track that everything works as expected.
For that I'd create a mock, call it ip and prepend it to the PATH variable. Is this somehow already possible?
Is it possible to add a mock to path? I have a script that calls i.e. the Linux
ipcommand, I want to track that everything works as expected.For that I'd create a mock, call it
ipand prepend it to the PATH variable. Is this somehow already possible?