struct Spectator::Formatting::Components::JUnit::TestCase

Overview

Test case node of the JUnit XML document. This is the "testsuite" element and all of its children.

Defined in:

spectator/formatting/components/junit/test_case.cr

Constructors

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 self.new(class_name : String, example : Example) #

Creates the test case element.


[View source]

Instance Method Detail

def to_xml(xml) #

Produces the XML fragment.


[View source]