robottestutils

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Package robottestutils provides helper functions in testing

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBaseOptionsAndListener added in v0.0.9

func CreateBaseOptionsAndListener(t *testing.T) (weboptions.Options, net.Listener, string)

CreateBaseOptionsAndListener creates a new web options with random port as listener.

func NewRobotClient

func NewRobotClient(t *testing.T, logger *zap.SugaredLogger, addr string, dur time.Duration) *client.RobotClient

NewRobotClient creates a new robot client with a certain address.

Types

This section is empty.

Jump to

Keyboard shortcuts

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