command

package
v0.0.0-...-efb2c3d Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package command contains generic test runner.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, dir string, args []string) (*config.TestResults, error)

Run runs generic test. It runs a command with arguments in a directory and returns the combined output as is. If the command exits with a non-zero exit code, the test fails.

Types

This section is empty.

Jump to

Keyboard shortcuts

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