blob: c3fe063939808552fc173115057fd23dd564ec51 [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Package testrunner handles specifics related to the testrunner tool.
package testrunner
import (
"go.fuchsia.dev/fuchsia/tools/testing/runtests"
testparser "go.fuchsia.dev/fuchsia/tools/testing/testparser/lib"
"time"
)
// TestResult is the result of executing a test.
type TestResult struct {
// Name is the name of the test that was executed.
Name string
// GNLabel is the label (with toolchain) for the test target.
GNLabel string
// Result describes whether the test passed or failed.
Result runtests.TestResult
// Cases describes individual test cases.
Cases []testparser.TestCaseResult
// DataSinks gives the data sinks attached to a test.
DataSinks runtests.DataSinkReference
Stdout []byte
Stderr []byte
StartTime time.Time
EndTime time.Time
}