gpc

package
v0.0.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Player

type Player struct {
	Dialer pipes.DialerFunc
	// contains filtered or unexported fields
}

func ParseFile

func ParseFile(filePath string) (*Player, error)

ParseFile creates a new Player for http request file.

func ParseString

func ParseString(data string) (*Player, error)

func (*Player) Play

func (p *Player) Play() (Report, error)

type Report

type Report struct {
	// contains filtered or unexported fields
}

func RunTests added in v0.0.4

func RunTests(filePath string, t *testing.T) Report

func (Report) Steps

func (r Report) Steps() []execStep

func (Report) TestFailed added in v0.0.3

func (r Report) TestFailed() bool

type ResponseAdapter

type ResponseAdapter struct {
	Status int    `json:"status"`
	Body   string `json:"body"`
}

Jump to

Keyboard shortcuts

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