e2e

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBQueryExpectation added in v0.4.4

type DBQueryExpectation struct {
	Table string
	Data  map[string]any
}

type HTTPRequestExpectation added in v0.4.4

type HTTPRequestExpectation struct {
	URL    string
	Method string
	Body   string
}

type RequestCapture

type RequestCapture struct {
	Mutex            sync.Mutex
	ReceivedRequests []HTTPRequestExpectation
}

type SetupMessage added in v0.4.4

type SetupMessage struct {
	QueueName string
	Message   []byte
}

type TestCase added in v0.4.4

type TestCase struct {
	Description    string
	KonsumeConfig  *config.Config
	SetupMessage   SetupMessage
	ExpectedResult []HTTPRequestExpectation
	ExpectedQuery  DBQueryExpectation
}

Jump to

Keyboard shortcuts

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