Documentation
¶
Overview ¶
Package binary builds the circleci CLI binary once per test run and provides helpers for running it in tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunCLIInteractive ¶
RunCLIInteractive executes the circleci binary attached to a PTY and returns the console so callers can drive interactive input with Expect/Send. The command must exit 0; that is checked when the test finishes.
func RunCLIInteractiveExitCode ¶ added in v1.13.0
RunCLIInteractiveExitCode is RunCLIInteractive for a command expected to fail: when the test finishes it checks that the command exited with wantExitCode rather than 0.
Types ¶
Click to show internal directories.
Click to hide internal directories.