Documentation
¶
Index ¶
- func NewTestShell(t testingT, buf *strings.Builder, opts ...shell.Option) *shell.Shell
- func NewTestShellWithBuffer(t testingT, buf *strings.Builder, opts ...shell.Option) *shell.Shell
- func NewTestShellWithBytes(t testingT, buf *strings.Builder, opts ...shell.Option) *shell.Shell
- func RealTmpDir(t testingT) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTestShell ¶
NewTestShell creates a shell for testing with stdout/stderr wired to buf
func NewTestShellWithBuffer ¶
NewTestShellWithBuffer creates a shell with bytes.Buffer for output
func NewTestShellWithBytes ¶
NewTestShellWithBytes creates a shell with bytes.Buffer for output
func RealTmpDir ¶
func RealTmpDir(t testingT) string
RealTmpDir creates a temporary OS directory with cleanup
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.