run

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "run",
	Short: "Run go test once with gotcha config",
	Long:  "Run go test once with gotcha config",
	Run: func(cmd *cobra.Command, args []string) {
		cfg, err := config.Load()
		if err != nil {
			_, _ = fmt.Fprintf(os.Stderr, "error: %v\n", err)
			os.Exit(1)
		}
		if summary {
			RunSummary(cfg, false)
			return
		}
		Run(cfg, false)
	},
}

Functions

func Run

func Run(cfg config.Config, watchMode bool)

func RunSummary added in v0.0.3

func RunSummary(cfg config.Config, watchMode bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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