helper

package
v0.0.0-...-bb92df6 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2021 License: OSL-3.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsyncCheckWithTimeout

func AsyncCheckWithTimeout(t *testing.T, timeoutAfter time.Duration, fn func() error)

AsyncCheckWithTimeout calls fn every 10ms until timeout reached or fn doesn't return err anymore

func BootupDemoProject

func BootupDemoProject(configDir string) integrationtest.BootupInfo

BootupDemoProject boots up a complete demo project

func GenerateGraphQL

func GenerateGraphQL()

GenerateGraphQL generates the graphql interfaces for the demo project and saves to filesystem. use via makefile - each time you modify the schema

func GraphQlRequest

func GraphQlRequest(t *testing.T, e *httpexpect.Expect, query string) *httpexpect.Request

GraphQlRequest helper to get a initialised httpexpect request with the graphql query - used in tests

Types

This section is empty.

Jump to

Keyboard shortcuts

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