framework

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: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	START_NEW_TEST_MAGIC = "_testName"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Framework

type Framework interface {
	ListTests() map[string]string // map[testName]packageName
	RunTests(testsToSkip map[string]models.SkippedTest) ([]models.TestRun, int)
	BasePath() string
}

func NewFramework

func NewFramework(languageParser parser.Parser, framework, repoPath, testArgs, pkgs string) (Framework, error)

type GoTest

type GoTest struct {
	GOPATH string
	// contains filtered or unexported fields
}

func NewGoTestFramework

func NewGoTestFramework(languageParser parser.Parser, repoPath string, args string, pkgs string) *GoTest

func (*GoTest) BasePath

func (g *GoTest) BasePath() string

func (*GoTest) ListTests

func (g *GoTest) ListTests() map[string]string

func (*GoTest) RunTests

func (g *GoTest) RunTests(testsToSkip map[string]models.SkippedTest) ([]models.TestRun, int)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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