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 BuildBinary ¶
BuildBinary compiles the CLI binary once and returns its path. Call from TestMain; on error, the binary could not be built and tests should be skipped rather than failed.
func RunCLIInteractive ¶
RunCLIInteractive executes the circleci binary attached to a PTY and returns both the running command and the console so callers can drive interactive input with Expect/Send. Call cmd.Wait() after interaction is complete.
Types ¶
Click to show internal directories.
Click to hide internal directories.