Documentation ¶
Overview ¶
Package junitxml provides a mechanism to convert a streamed test log to JUnit XML.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddProperty ¶
func AddProperty(test, name, value string)
AddProperty adds a name-value property associated with the given test name to the JUnit XML testsuite that is generated.
func DecodeProperty ¶
DecodeProperty decodes a test name and property name-value from a JUnit Property.
func StartConverting ¶
StartConverting starts converting a Go test log in stdout to a JUnit XML file written at the specified path. Stop _must_ be called on the returned Converter to ensure the XML is fully written.
func StopConverting ¶
func StopConverting() error
StopConverting stops converting and waits for the XML to be fully written.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.