Documentation ¶
Overview ¶
Package mock provides mock implementations of components to use in tests.
Index ¶
- type TmuxRunner
- func (r *TmuxRunner) Debug(msg string, args ...any)
- func (r *TmuxRunner) Execve(args ...string) error
- func (r *TmuxRunner) IsDryRun() bool
- func (r *TmuxRunner) Log(msg string, args ...any)
- func (r *TmuxRunner) Run(ctx context.Context, args ...string) ([]byte, error)
- func (r *TmuxRunner) SetLogger(logger *slog.Logger)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TmuxRunner ¶
func NewTmuxRunner ¶
func NewTmuxRunner(tb testing.TB, wrapped tmux.Runner) *TmuxRunner
func (*TmuxRunner) Debug ¶
func (r *TmuxRunner) Debug(msg string, args ...any)
func (*TmuxRunner) Execve ¶
func (r *TmuxRunner) Execve(args ...string) error
func (*TmuxRunner) IsDryRun ¶
func (r *TmuxRunner) IsDryRun() bool
func (*TmuxRunner) Log ¶
func (r *TmuxRunner) Log(msg string, args ...any)
func (*TmuxRunner) SetLogger ¶
func (r *TmuxRunner) SetLogger(logger *slog.Logger)
Click to show internal directories.
Click to hide internal directories.