junit

package
v0.0.0-...-5ae9364 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	XMLName xml.Name `xml:"error,omitempty"`
	Message string   `xml:"message,attr,omitempty"`
	Value   string   `xml:",chardata"`
}

Error ...

type Failure

type Failure struct {
	XMLName xml.Name `xml:"failure,omitempty"`
	Message string   `xml:"message,attr,omitempty"`
	Value   string   `xml:",chardata"`
}

Failure ...

type Skipped

type Skipped struct {
	XMLName xml.Name `xml:"skipped,omitempty"`
}

Skipped ...

type TestCase

type TestCase struct {
	XMLName           xml.Name `xml:"testcase"`
	ConfigurationHash string   `xml:"configuration-hash,attr"`
	Name              string   `xml:"name,attr"`
	ClassName         string   `xml:"classname,attr"`
	Time              float64  `xml:"time,attr"`
	Failure           *Failure `xml:"failure,omitempty"`
	Skipped           *Skipped `xml:"skipped,omitempty"`
	Error             *Error   `xml:"error,omitempty"`
	SystemErr         string   `xml:"system-err,omitempty"`
}

TestCase ...

type TestSuite

type TestSuite struct {
	XMLName   xml.Name   `xml:"testsuite"`
	Name      string     `xml:"name,attr"`
	Tests     int        `xml:"tests,attr"`
	Failures  int        `xml:"failures,attr"`
	Skipped   int        `xml:"skipped,attr"`
	Errors    int        `xml:"errors,attr"`
	Time      float64    `xml:"time,attr"`
	TestCases []TestCase `xml:"testcase"`
}

TestSuite ...

type XML

type XML struct {
	XMLName    xml.Name    `xml:"testsuites"`
	TestSuites []TestSuite `xml:"testsuite"`
}

XML ...

Jump to

Keyboard shortcuts

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