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
Let's say I have a script that invokes a command twice as part of its execution, once with arguments and once without. Example:
#!/bin/bash foo=$(my-script) bar=$(my-script A) echo "'$foo' '$bar'"
with a test of
let!(mocker) { stubbed_env.mock('my-script') .with_args('A').outputs('1') .with_no_args().outputs('2') } stdout,stderr,exitstatus = stubbed_env.execute(thing_under_test) expect(stdout).to eql("'2' '1'")
Right now, there is no way to do this.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Let's say I have a script that invokes a command twice as part of its execution, once with arguments and once without. Example:
with a test of
Right now, there is no way to do this.
The text was updated successfully, but these errors were encountered: