tautoresults

package
v0.0.0-...-75e4d2d Latest Latest
Warning

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

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

Documentation

Overview

Package tautoresults provides test results for Tauto.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateReport

func GenerateReport(test test, testID string, resultsDir string, testCaseMetadata *api.TestCaseMetadata) *api.TestCaseResult

GenerateReport gets a report request from tast and passes on to progress sink.

func GetDuration

func GetDuration(test test) time.Duration

GetDuration gets the duration from the start/end time of a test.

func TestsReports

func TestsReports(resultsDir string, tests []string, testNamesToIds map[string]string, testNamesToMetadata map[string]*api.TestCaseMetadata, missingReason string) ([]*api.TestCaseResult, error)

TestsReports returns results to all tests.

Types

type Report

type Report struct {
	RawResults results
	// contains filtered or unexported fields
}

Report TODO: probably need to eventually move tauto over from results parsing.

func (*Report) MissingTestsReports

func (r *Report) MissingTestsReports(reason string, testNamesToMetadata map[string]*api.TestCaseMetadata) []*api.TestCaseResult

MissingTestsReports returns tests not found in the resultsdir, marked as err.

Jump to

Keyboard shortcuts

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