replay

package
v1.21.4 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInCaptureMode

func IsInCaptureMode() bool

func IsInSimulateMode

func IsInSimulateMode() bool

func ManageProjectID

func ManageProjectID(t *testing.T, projectIDProvider func(t testing.TB) string) string

ManageProjectID is a function that will store the generated project id during capture mode, and in case of simulate mode will simple fetch the project id defined in execution variables file.

func SetupReplayProxy

func SetupReplayProxy(t *testing.T) *int

Types

type ExecutionVariables

type ExecutionVariables struct {
	ProjectID string `json:"projectId"`
}

func ObtainExecutionVariables

func ObtainExecutionVariables(t *testing.T) (*ExecutionVariables, error)

Jump to

Keyboard shortcuts

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