Class: Swiftrail::Junit::TestCase
- Inherits:
-
Struct
- Object
- Struct
- Swiftrail::Junit::TestCase
- Defined in:
- lib/swiftrail/junit/report.rb
Instance Attribute Summary collapse
-
#class_name ⇒ Object
Returns the value of attribute class_name.
-
#duration ⇒ Object
Returns the value of attribute duration.
-
#failures ⇒ Object
Returns the value of attribute failures.
-
#full_class_name ⇒ Object
Returns the value of attribute full_class_name.
-
#test_name ⇒ Object
Returns the value of attribute test_name.
Instance Method Summary collapse
Instance Attribute Details
#class_name ⇒ Object
Returns the value of attribute class_name
4 5 6 |
# File 'lib/swiftrail/junit/report.rb', line 4 def class_name @class_name end |
#duration ⇒ Object
Returns the value of attribute duration
4 5 6 |
# File 'lib/swiftrail/junit/report.rb', line 4 def duration @duration end |
#failures ⇒ Object
Returns the value of attribute failures
4 5 6 |
# File 'lib/swiftrail/junit/report.rb', line 4 def failures @failures end |
#full_class_name ⇒ Object
Returns the value of attribute full_class_name
4 5 6 |
# File 'lib/swiftrail/junit/report.rb', line 4 def full_class_name @full_class_name end |
#test_name ⇒ Object
Returns the value of attribute test_name
4 5 6 |
# File 'lib/swiftrail/junit/report.rb', line 4 def test_name @test_name end |
Instance Method Details
#success? ⇒ Boolean
5 6 7 |
# File 'lib/swiftrail/junit/report.rb', line 5 def success? failures.empty? end |