testrunner

package
v0.0.0-...-b044383 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(args *Arguements) int

func Run

func Run(cmdline string, pkgs string, repoPath string) (*models.NabazRun, int)

Run exists mainly for testing purposes

Types

type Arguements

type Arguements struct {
	Cmdline  string // pytest -v, go test ./..., etc
	Pkgs     string // "pkg1 pkg2 pkg3 ./dir4/... ./dir5"
	RepoPath string // Path to the repo, defaults to "."
}

Jump to

Keyboard shortcuts

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