We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to mock a command that has a git-like interface? For example
mock git clone 0 mock heroku run 0
The text was updated successfully, but these errors were encountered:
you can indeed the base commands like git or heroku and check that the arguments called are in fact the ones you want.
git
heroku
For example, in a fishtape test.
test "Testing git clone a concrete repository" ( mock git 0 'echo $args' git clone git@github.com:fisherman/mock.git ) = "clone git@github.com:fisherman/mock.git" -a $status -eq 0 end
on a heroku command you can do the same.
Sorry, something went wrong.
Thanks, I ended up doing this: dideler/fish-cd-git@91e1d24
If you don't mind, i will keep the issue reopen until i get some time to document things like this.
No branches or pull requests
Is there a way to mock a command that has a git-like interface? For example
The text was updated successfully, but these errors were encountered: