integrationtest

package
v0.0.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHTTPExpect

func NewHTTPExpect(tb httpexpect.TestingTB, baseURL string) *httpexpect.Expect

NewHTTPExpect returns a new Expect object without printer

func NewHTTPExpectWithCookies

func NewHTTPExpectWithCookies(testingTB httpexpect.TestingTB, baseURL string, cookies map[string]string) *httpexpect.Expect

NewHTTPExpectWithCookies returns a new Expect object without printer with preset cookies to the base URL

Types

type BootupInfo

type BootupInfo struct {
	ShutdownFunc func()
	Application  *flamingo.Application
	BaseURL      string
	Running      chan struct{}
}

BootupInfo about the booted app

func Bootup

func Bootup(modules []dingo.Module, configDir string, config config.Map) BootupInfo

Bootup flamingo app with the given modules (and the config in folder given )

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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