Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Ingest ¶
func Ingest(data []byte) ([]*apistructs.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) ([]*apistructs.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) ([]*apistructs.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) ([]*apistructs.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) ([]*apistructs.TestSuite, error)
func (DefaultParser) Register ¶
func (d DefaultParser) Register()
Click to show internal directories.
Click to hide internal directories.