apptest

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdTest = &cli.Command{
	Name:  "test",
	Usage: "test Wa packages",
	Flags: []cli.Flag{
		appbase.MakeFlag_target(),
		appbase.MakeFlag_tags(),
	},
	Action: func(c *cli.Context) error {
		if c.NArg() < 1 {
			cli.ShowAppHelpAndExit(c, 0)
		}
		appArgs := c.Args().Slice()[1:]
		opt := appbase.BuildOptions(c)
		RunTest(opt.Config(), c.Args().First(), appArgs...)
		return nil
	},
}

Functions

func RunTest

func RunTest(cfg *config.Config, pkgpath string, appArgs ...string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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