Class: JunitReportGenerator::TestCase
- Defined in:
- lib/junit_report_generator/elements/test_case.rb
Instance Attribute Summary
Attributes included from Elementary
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name) ⇒ TestCase
constructor
A new instance of TestCase.
Methods inherited from Element
Methods included from Elementary
#assemble_attributes, #method_missing, #update_attributes
Constructor Details
#initialize(name) ⇒ TestCase
Returns a new instance of TestCase.
7 8 9 10 11 |
# File 'lib/junit_report_generator/elements/test_case.rb', line 7 def initialize(name) @name = name assemble_attributes(:name) register end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class JunitReportGenerator::Elementary
Class Method Details
.xml_tag_name ⇒ Object
14 15 16 |
# File 'lib/junit_report_generator/elements/test_case.rb', line 14 def xml_tag_name 'testcase' end |