bootstrap

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package bootstrap provides integration tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Prompt

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

Prompt produces prompts and validate the answers.

func NewPrompt

func NewPrompt() *Prompt

NewPrompt initiates a new *Prompt.

func (*Prompt) RegisterSteps added in v0.2.0

func (p *Prompt) RegisterSteps(s *godog.ScenarioContext)

RegisterSteps register Prompt to a *godog.ScenarioContext.

func (*Prompt) Stdio

func (p *Prompt) Stdio() terminal.Stdio

Stdio returns the current stdio.

func (*Prompt) WithStdio

func (p *Prompt) WithStdio(_ *godog.Scenario, stdio terminal.Stdio)

WithStdio configures stdio for a given scenario.

Jump to

Keyboard shortcuts

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