github.com/ActiveState/termtest/expect (go): Package expect provides an expect-like interface to automate control of applications. It is unlike expect in that it does not spawn or manage process lifecycle. This package only focuses on expecting output and sending input through it's psuedoterminal.
Keywords: cross-platform|emulation|expect|golang|linux|macos|terminal|testing|windows