Class: Allure::TestResultContainer
- Defined in:
- lib/allure_ruby_commons/model/test_result_container.rb
Overview
Allure model step result container
Instance Attribute Summary collapse
-
#afters ⇒ Object
Returns the value of attribute afters.
-
#befores ⇒ Object
Returns the value of attribute befores.
-
#children ⇒ Object
Returns the value of attribute children.
-
#description ⇒ Object
Returns the value of attribute description.
-
#description_html ⇒ Object
Returns the value of attribute description_html.
-
#links ⇒ Object
Returns the value of attribute links.
-
#name ⇒ Object
Returns the value of attribute name.
-
#start ⇒ Object
Returns the value of attribute start.
-
#stop ⇒ Object
Returns the value of attribute stop.
-
#uuid ⇒ Object
Returns the value of attribute uuid.
Instance Method Summary collapse
-
#initialize(uuid: SecureRandom.uuid, name: "Unnamed") ⇒ TestResultContainer
constructor
A new instance of TestResultContainer.
Methods inherited from JSONable
Constructor Details
#initialize(uuid: SecureRandom.uuid, name: "Unnamed") ⇒ TestResultContainer
Returns a new instance of TestResultContainer.
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/allure_ruby_commons/model/test_result_container.rb', line 6 def initialize(uuid: SecureRandom.uuid, name: "Unnamed") super() @uuid = uuid @name = name @children = [] @befores = [] @afters = [] @links = [] end |
Instance Attribute Details
#afters ⇒ Object
Returns the value of attribute afters.
17 18 19 |
# File 'lib/allure_ruby_commons/model/test_result_container.rb', line 17 def afters @afters end |
#befores ⇒ Object
Returns the value of attribute befores.
17 18 19 |
# File 'lib/allure_ruby_commons/model/test_result_container.rb', line 17 def befores @befores end |
#children ⇒ Object
Returns the value of attribute children.
17 18 19 |
# File 'lib/allure_ruby_commons/model/test_result_container.rb', line 17 def children @children end |
#description ⇒ Object
Returns the value of attribute description.
17 18 19 |
# File 'lib/allure_ruby_commons/model/test_result_container.rb', line 17 def description @description end |
#description_html ⇒ Object
Returns the value of attribute description_html.
17 18 19 |
# File 'lib/allure_ruby_commons/model/test_result_container.rb', line 17 def description_html @description_html end |
#links ⇒ Object
Returns the value of attribute links.
17 18 19 |
# File 'lib/allure_ruby_commons/model/test_result_container.rb', line 17 def links @links end |
#name ⇒ Object
Returns the value of attribute name.
17 18 19 |
# File 'lib/allure_ruby_commons/model/test_result_container.rb', line 17 def name @name end |
#start ⇒ Object
Returns the value of attribute start.
17 18 19 |
# File 'lib/allure_ruby_commons/model/test_result_container.rb', line 17 def start @start end |
#stop ⇒ Object
Returns the value of attribute stop.
17 18 19 |
# File 'lib/allure_ruby_commons/model/test_result_container.rb', line 17 def stop @stop end |
#uuid ⇒ Object
Returns the value of attribute uuid.
17 18 19 |
# File 'lib/allure_ruby_commons/model/test_result_container.rb', line 17 def uuid @uuid end |