integrationtest

package
v0.0.0-...-144c323 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDatabase

func CreateDatabase() (*storage.Database, func())

CreateDatabase for testing. Usage:

db, cleanup := CreateDatabase()
defer cleanup()
…

func CreateQueue

func CreateQueue() (*messaging.Queue, func())

CreateQueue for testing. Usage:

queue, cleanup := CreateQueue()
defer cleanup()
…

func CreateServer

func CreateServer() func()

CreateServer for testing on port 8081, returning a cleanup function that stops the server. Usage:

cleanup := CreateServer()
defer cleanup()

func SkipIfShort

func SkipIfShort(t *testing.T)

Types

This section is empty.

Jump to

Keyboard shortcuts

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