e2e

package
v1.57.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package e2e implements a 'devenv apps e2e' command that allows developers to runs e2e test from source code.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(log logrus.FieldLogger) *cli.Command

NewCmd creates a new cli.Command for the `apps dev` command

Types

type Options

type Options struct {

	// AppNameOrPath is the app to dev either (in case of dev it should always be path)
	AppNameOrPath string

	// DeploymentProfile is the profile to use with devspace, it's passed in in an env variable $DEVENV_DEV_DEPLOYMENT_PROFILE
	DeploymentProfile string

	// Terminal is a flag passed to devspace as DEVENV_DEV_TERMINAL=true. It activates the profile for starting terminal instead of service.
	Terminal bool
	// contains filtered or unexported fields
}

Options are various options for the `apps e2e` command

func NewOptions

func NewOptions(log logrus.FieldLogger) (*Options, error)

NewOptions create an initialized options struct for the `apps dev` command

func (*Options) Run

func (o *Options) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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