robottestutils

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2022 License: AGPL-3.0 Imports: 11 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 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.

func StartBaseRobot

func StartBaseRobot(ctx context.Context,
	t *testing.T,
	logger *zap.SugaredLogger,
	listener net.Listener,
	cfg *config.Config,
) (robot.LocalRobot, weboptions.Options)

StartBaseRobot creates a new local robot with a listener attached.

Types

This section is empty.

Jump to

Keyboard shortcuts

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