nativeapp

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package nativeapp runs the app under test as native processes: it starts the project binaries built into $GOPATH/bin as detached processes, each on an incrementing port with the emulator host env vars, and stops them again.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Launcher

type Launcher struct {
	// contains filtered or unexported fields
}

Launcher starts and stops the native app binaries.

func New

func New(logger *zap.Logger, buildConfigPath string) (*Launcher, error)

New builds a Launcher resolving $GOPATH/bin and the working directory.

func (*Launcher) Start

func (l *Launcher) Start(ctx context.Context) error

Start launches every configured binary as a detached process.

func (*Launcher) Stop

func (l *Launcher) Stop(ctx context.Context) error

Stop terminates every configured binary by name.

Jump to

Keyboard shortcuts

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