wire

package
v0.0.0-...-0358a8c Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RunTestRequest

type RunTestRequest struct {
	// The name of the uploaded file which contains the tarball with
	// bats/*.
	BatsLocation string `json:"bats_location"`

	// The name of the uploaded file which contains the tarball with test
	// uploaded bin/* files. Currently remotesrv.
	BinLocation string `json:"bin_location"`

	// The name of the uploaded file which contains the tarball with
	// bin/dolt.
	DoltLocation string `json:"dolt_location"`

	// The test file run, for example, sql-server.bats.
	FileName string `json:"file_name"`

	// The test name within the file to run.
	TestName string `json:"test_name"`

	// The filter string to pass to the `bats` invocation to actually run
	// the targetted test. This is an escaped version of the test_name.
	TestFilter string `json:"test_filter"`

	// Environment variables to set while running the tests.
	EnvVars []string `json:"env_vars"`
}

type RunTestResult

type RunTestResult struct {
	Output string `json:"output"`
	Err    string `json:"err"`
}

Jump to

Keyboard shortcuts

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