testcli

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2026 License: BSD-3-Clause Imports: 26 Imported by: 0

Documentation

Overview

Package testcli is the `chapar-cli test` command: it runs a workspace's test cases without the UI, for CI. See docs/testcases-design.md.

Index

Constants

View Source
const (
	ExitPassed    = 0
	ExitFailed    = 1 // a test case did not pass
	ExitUsage     = 2 // bad flags, workspace or test case files
	ExitCancelled = 130
)

Exit codes.

View Source
const PassphraseEnv = "CHAPAR_SECRETS_PASSPHRASE"

PassphraseEnv unlocks secret environment values kept with a passphrase.

Variables

This section is empty.

Functions

func Main

func Main(args []string, stdout, stderr io.Writer) int

Main runs the command with args (without "test") and returns its exit code.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL