surefilexml

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ingest

func Ingest(data []byte) ([]*pb.TestSuite, error)

Ingest will parse the given XML data and return a slice of all contained JUnit test suite definitions.

func IngestDir

func IngestDir(directory string) ([]*pb.TestSuite, error)

IngestDir will search the given directory for XML files and return a slice of all contained JUnit test suite definitions.

func IngestFile

func IngestFile(filename string) ([]*pb.TestSuite, error)

IngestFile will parse the given XML file and return a slice of all contained JUnit test suite definitions.

func IngestFiles

func IngestFiles(filenames []string) ([]*pb.TestSuite, error)

IngestFiles will parse the given XML files and return a slice of all contained JUnit test suite definitions.

Types

type DefaultParser

type DefaultParser struct {
}

func (DefaultParser) Parse

func (DefaultParser) Parse(endpoint, ak, sk, bucket, objectName string) ([]*pb.TestSuite, error)

func (DefaultParser) Register

func (d DefaultParser) Register()

Jump to

Keyboard shortcuts

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