You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.
Hi,
I'm looking for ways to test my scripts, some patterns you use/recommend. For instance, how would you test a script such as this one:
How do I check I have been
cd
to the correct directory?Currently I stub
cd
to check how it's call.But then the script continue to run everything after that.
How to test a pipe?
or
What would you test and how? Is it possible to test part of the pipe?
How would you check value of an env var
How would you chek that we use globstar?
related: stackexchange question
The text was updated successfully, but these errors were encountered: