e2e_tests

package
v0.0.36 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Chdir

func Chdir(t *testing.T, dir string)

func GetFetchHeadTimestamp added in v0.0.34

func GetFetchHeadTimestamp(t *testing.T, repo *gittest.GitTestRepo) time.Time

func GetStoredParentBranchState added in v0.0.15

func GetStoredParentBranchState(t *testing.T, repo *gittest.GitTestRepo, name string) meta.BranchState

func RequireCurrentBranchName added in v0.0.6

func RequireCurrentBranchName(t *testing.T, repo *gittest.GitTestRepo, name plumbing.ReferenceName)

func RunMockGitHubServer added in v0.0.36

func RunMockGitHubServer(t *testing.T) *mockGitHubServer

Types

type AvOutput

type AvOutput struct {
	ExitCode int
	Stdout   string
	Stderr   string
}

func Av

func Av(t *testing.T, args ...string) AvOutput

func Cmd added in v0.0.5

func Cmd(t *testing.T, exe string, args ...string) AvOutput

func RequireAv

func RequireAv(t *testing.T, args ...string) AvOutput

Jump to

Keyboard shortcuts

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