Documentation
¶
Overview ¶
Command fake is the fake child of the test kit. A scenario puts it in place of a program that the extension runs, with the scenario command fake <name>. The kit builds it from this source, because a Go module zip keeps no executable bit.
It runs the actions of the file <name>.fake beside it, one per line, in order. A blank line and a line that starts with # do nothing.
stdout <text> writes text and a newline to stdout stderr <text> writes text and a newline to stderr stdin copies stdin to stdout env writes the name of each variable of its environment, sorted, one per line, never a value sleep <duration> waits, such as sleep 30s, until a signal ends it exit <code> exits with code
It exits with 0 after the last action, and with 127 when its file is missing or holds an unknown action.
Click to show internal directories.
Click to hide internal directories.