e2e

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2025 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindArduinoAppCLIPath

func FindArduinoAppCLIPath(t *testing.T) *paths.Path

FindArduinoAppCLIPath returns the path to the arduino-cli executable

func FindRepositoryRootPath

func FindRepositoryRootPath(t *testing.T) *paths.Path

FindRepositoryRootPath returns the repository root path

Types

type ArduinoAppCLI

type ArduinoAppCLI struct {
	DaemonAddr string
	// contains filtered or unexported fields
}

func CreateEnvForDaemon

func CreateEnvForDaemon(t *testing.T) *ArduinoAppCLI

CreateEnvForDaemon performs the minimum required operations to start the arduino-app-cli daemon. It returns a testsuite.Environment and an ArduinoAppCLI client to perform the integration tests. The Environment must be disposed by calling the CleanUp method via defer.

func NewArduinoAppCLI

func NewArduinoAppCLI(t *testing.T) *ArduinoAppCLI

func (*ArduinoAppCLI) CleanUp

func (cli *ArduinoAppCLI) CleanUp()

CleanUp closes the Arduino App CLI client.

func (*ArduinoAppCLI) StartDaemon

func (cli *ArduinoAppCLI) StartDaemon(verbose bool) string

Directories

Path Synopsis
Package client provides primitives to interact with the openapi HTTP API.
Package client provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

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