struct Spectator::Formatting::Components::JUnit::Root


Root node of the JUnit XML document. This is the "testsuites" element and all of its children.

Defined in:



Class Method Summary

Instance Method Summary

Instance methods inherited from class Object

should(matcher, message = nil) should, should_eventually(matcher, message = nil) should_eventually, should_never(matcher, message = nil) should_never, should_not(matcher, message = nil) should_not

Constructor Detail

def : Time::Span, suites : Array(TestSuite), *, total : Int32, failures : Int32, errors : Int32) #

Creates the root element.

[View source]

Class Method Detail

def self.from_report(report) #

Constructs the element from a report.

[View source]

Instance Method Detail

def to_xml(xml) #

Produces the XML fragment.

[View source]