test

package
v0.0.0-...-72b55a3 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoTestOutput

type GoTestOutput struct {
	Time    time.Time // encodes as an RFC3339-format string
	Action  string
	Package string
	Test    string
	Elapsed float64 // seconds
	Output  string
}

type JestOutput

type JestOutput struct {
	TestResults []JestOutputTestResult `json:"testResults"`
}

type JestOutputAssertionResult

type JestOutputAssertionResult struct {
	Status          string   `json:"status"`
	Title           string   `json:"title"`
	Duration        int      `json:"duration"`
	FullName        string   `json:"fullName"`
	FailureMessages []string `json:"failureMessages"`
}

type JestOutputTestResult

type JestOutputTestResult struct {
	AssertionResults []JestOutputAssertionResult `json:"assertionResults"`
	EndTime          int64                       `json:"endTime"`
	StartTime        int64                       `json:"startTime"`
	Name             string                      `json:"name"`
	Status           string                      `json:"status"`
}

type TestService

type TestService struct{}

func (TestService) ParseTestOutput

func (t TestService) ParseTestOutput(stdout string, framework stella.TestFramework) (*stella.TestParseOutput, error)

Jump to

Keyboard shortcuts

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