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
All `fake` functions have a new usage format now:
- `fake <full command> <exit> <stdout> <stderr>`
- `fake-pass <full command> <stdout>`
- `fake-fail <full command> <stderr>`
Also, clean up function is now available as `fake-clean`.
#155
Current implementation from
tests/addons-fake.bash
:fake <command> <subcommand> <exit> <stdout> <stderr>
fake-pass <command> <subcommand> <stdout>
fake-fail <command> <subcommand> <stderr>
This means you need to write fake as
Such syntax is not very readable. And we need to change it to
This means, the above commands have to accept the followign arguments
fake <full command> <exit> <stdout> <stderr>
fake-pass <full command> <stdout>
fake-fail <full command> <stderr>
The modification should treat first word in
<full command>
as a name of original command we fake.The text was updated successfully, but these errors were encountered: