testplan

package
v0.0.0-...-9b7a7ab Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

Package testplan contains the main application code for the testplan tool.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(
	ctx context.Context,
	planFilenames []string,
	buildMetadataList *buildpb.SystemImage_BuildMetadataList,
	dutAttributeList *testpb.DutAttributeList,
	configBundleList *payload.ConfigBundleList,
	planToTemplateParametersList map[string][]*plan.SourceTestPlan_TestPlanStarlarkFile_TemplateParameters,
) ([]*test_api_v1.HWTestPlan, []*test_api_v1.VMTestPlan, error)

Generate evals the Starlark files in planFilenames to produce a list of HWTestPlans and VMTestPlans.

planFilenames must be non-empty. buildMetadataList, dutAttributeList, and configBundleList must be non-nil.

All keys in planToTemplateParametersList must be in planFilenames. If a plan does have a list of TemplateParameters, the plan will be evaluated once for each of the TemplateParameters.

Types

This section is empty.

Directories

Path Synopsis
Package compatibility provides functions for backwards compatiblity with test platform.
Package compatibility provides functions for backwards compatiblity with test platform.
Package protoio contains helper methods for proto I/O done by the testplan tool.
Package protoio contains helper methods for proto I/O done by the testplan tool.

Jump to

Keyboard shortcuts

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