test

package
v0.8.20230131140132 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertEqual

func AssertEqual(t *testing.T, got, want map[string]build.Dependency)

func Dependency

func Dependency(coordinates, version, algo, checksum string) build.Dependency

func Run

func Run(t *testing.T, tests []IntegrationTest)

Types

type IntegrationTest

type IntegrationTest struct {
	Name         string
	BuildType    build.Tool
	WorkDir      string
	BuildPath    string
	Cmd          string
	Want         Want
	Error        bool
	ErrorMessage string
}

type Want

type Want struct {
	Key     string
	Version string
	Algo    string
	Digest  string
}

Jump to

Keyboard shortcuts

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