Fluxion::Executor::FakeShellRunner
Inherits Fluxion::Executor::ShellRunner < Reference < Object
A runner that records what it was asked to do and replays canned results.
This is what lets the module executors be tested exhaustively: their real contract is the argv they build and how they read a result, and both are observable here without a package manager in sight.
Constructors
new
SourceInstance methods
commands
Sourcedefault(result : ProcessResult) : self
SourceQueues a result for any command whose argv joins to a string containing
matching.
Output lines to emit for a matching command, keyed the same way.