xunit

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

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

Go to latest
Published: Dec 2, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct {
	Stats *TestStats
}

Parser encapsulates XUnit files parsing

func NewParser

func NewParser() *Parser

NewParser returns a new XUnit parser instance

func (*Parser) ParseDir

func (p *Parser) ParseDir(dir string) error

ParseDir parses all xUnit files in the provided directory

type TestStats

type TestStats struct {
	Total    int
	Passed   int
	Failed   int
	Skipped  int
	InError  int
	Run      int
	Duration time.Duration
}

TestStats is the structure containing test Stats extracted from xUnit files

Jump to

Keyboard shortcuts

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