helper

package
v0.0.0-...-cb74e61 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(t *testing.T, testCases []TestCase)

func GitClone

func GitClone(t *testing.T, dir, uri string)

func GitCloneBranch

func GitCloneBranch(t *testing.T, dir, uri, branch string)

func ValidateConfigExpectation

func ValidateConfigExpectation(t *testing.T, ID, expected, actual string, versions ...interface{})

Types

type TestCase

type TestCase struct {
	Name             string
	RepoURL          string
	Branch           string
	ExpectedResult   string
	ExpectedVersions []interface{}
}

Jump to

Keyboard shortcuts

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