Class: CircleCI::TestReport::TestCase
- Inherits:
-
Object
- Object
- CircleCI::TestReport::TestCase
- Defined in:
- lib/circleci/test_report/test_case.rb
Instance Attribute Summary collapse
-
#classname ⇒ Object
Returns the value of attribute classname.
-
#failure ⇒ Object
Returns the value of attribute failure.
-
#file ⇒ Object
Returns the value of attribute file.
-
#name ⇒ Object
Returns the value of attribute name.
-
#skipped ⇒ Object
Returns the value of attribute skipped.
-
#time ⇒ Object
Returns the value of attribute time.
Instance Method Summary collapse
-
#initialize ⇒ TestCase
constructor
A new instance of TestCase.
Constructor Details
#initialize ⇒ TestCase
Returns a new instance of TestCase.
6 7 8 9 10 11 12 13 |
# File 'lib/circleci/test_report/test_case.rb', line 6 def initialize @classname = "" @name = "" @file = "" @time = "" @failure = nil # {message: '', type: '', text: ''} @skipped = false end |
Instance Attribute Details
#classname ⇒ Object
Returns the value of attribute classname.
4 5 6 |
# File 'lib/circleci/test_report/test_case.rb', line 4 def classname @classname end |
#failure ⇒ Object
Returns the value of attribute failure.
4 5 6 |
# File 'lib/circleci/test_report/test_case.rb', line 4 def failure @failure end |
#file ⇒ Object
Returns the value of attribute file.
4 5 6 |
# File 'lib/circleci/test_report/test_case.rb', line 4 def file @file end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/circleci/test_report/test_case.rb', line 4 def name @name end |
#skipped ⇒ Object
Returns the value of attribute skipped.
4 5 6 |
# File 'lib/circleci/test_report/test_case.rb', line 4 def skipped @skipped end |
#time ⇒ Object
Returns the value of attribute time.
4 5 6 |
# File 'lib/circleci/test_report/test_case.rb', line 4 def time @time end |