testutils

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Examples00InvalidPath = "../examples/404/"
	Examples00TestPath    = "../examples/00_test/"
	Examples01MoodbotPath = "../examples/01_moodbot/"
	Examples02MiscPath    = "../examples/02_misc/"
	Examples03PokemonPath = "../examples/03_pokemon/"
	Examples04TriviaPath  = "../examples/04_trivia/"
	Examples05SimplePath  = "../examples/05_simple/"
)

Functions

func GetFreePort

func GetFreePort(t *testing.T) string

GetFreePort returns an available port to use

func RunGoExtension

func RunGoExtension(t *testing.T, path, port string)

RunGoExtension for running extensions with unit tests

Types

This section is empty.

Jump to

Keyboard shortcuts

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