Documentation ¶
Overview ¶
Package transform contains tools for transforming CTP build to test_platform/analytics/TestPlanRun proto.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CTPBuildResults ¶
type CTPBuildResults interface {
ToTestPlanRuns(context.Context) []*analytics.TestPlanRun
}
CTPBuildResults presents a CTP build containing multiple TestPlanRuns.
func LoadCTPBuildBucketResp ¶
func LoadCTPBuildBucketResp(ctx context.Context, b *bbpb.Build, bb *result_flow.BuildbucketConfig) (CTPBuildResults, error)
LoadCTPBuildBucketResp loads a CTP build from Buildbucket response.
type TestRunnerBuild ¶
type TestRunnerBuild interface { ToTestRun(context.Context) *analytics.TestRun ToTestCaseResults() []*analytics.TestCaseResult }
TestRunnerBuild contains test build data and can be transformed to analytics.TestRun and analytics.TestCaseResult.
func LoadTestRunnerBuild ¶
func LoadTestRunnerBuild(ctx context.Context, parentUID string, b *bbpb.Build, bb *result_flow.BuildbucketConfig) (TestRunnerBuild, error)
LoadTestRunnerBuild loads a Test Runner build from Buildbucket response.
Click to show internal directories.
Click to hide internal directories.