repotest

package
v0.0.0-...-aace954 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ARBITRARY_DATA_KEY   = "arbitrary_data"
	ARBITRARY_DATA_VALUE = "1234"
)

Variables

This section is empty.

Functions

func RunReposTestHarness

func RunReposTestHarness(t *testing.T, input RepoTestHarnessInput)

Types

type RepoTestHarnessInput

type RepoTestHarnessInput struct {
	UserRepo              *repo.UserRepo
	ContactRepo           *repo.ContactRepo
	AddressRepo           *repo.AddressRepo
	ProfileRepo           *repo.ProfileRepo
	AppRepo               *repo.AppRepo
	TokenRepo             *repo.TokenRepo
	AuditLogRepo          *repo.AuditLogRepo
	IDGenerator           func(getZeroId bool) string
	SetupTestDataSource   func(t *testing.T, input RepoTestHarnessInput)
	CleanupTestDataSource func(t *testing.T, input RepoTestHarnessInput)
}

Jump to

Keyboard shortcuts

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