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.
Click to show internal directories.
Click to hide internal directories.