Class: Allure::ExecutableItem
- Defined in:
- lib/allure_ruby_commons/model/executable_item.rb
Overview
Allure model executable item
Direct Known Subclasses
Instance Attribute Summary collapse
-
#attachments ⇒ Object
Returns the value of attribute attachments.
-
#description ⇒ Object
Returns the value of attribute description.
-
#description_html ⇒ Object
Returns the value of attribute description_html.
-
#name ⇒ Object
Returns the value of attribute name.
-
#parameters ⇒ Object
Returns the value of attribute parameters.
-
#stage ⇒ Object
Returns the value of attribute stage.
-
#start ⇒ Object
Returns the value of attribute start.
-
#status ⇒ Object
Returns the value of attribute status.
-
#status_details ⇒ Object
Returns the value of attribute status_details.
-
#steps ⇒ Object
Returns the value of attribute steps.
-
#stop ⇒ Object
Returns the value of attribute stop.
Instance Method Summary collapse
-
#initialize(**options) ⇒ ExecutableItem
constructor
A new instance of ExecutableItem.
Methods inherited from JSONable
Constructor Details
#initialize(**options) ⇒ ExecutableItem
Returns a new instance of ExecutableItem.
16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/allure_ruby_commons/model/executable_item.rb', line 16 def initialize(**) super() @name = [:name] @description = [:description] @description_html = [:description_html] @status = [:status] || Status::BROKEN @status_details = [:status_details] || StatusDetails.new @stage = [:stage] || Stage::SCHEDULED @steps = [:steps] || [] @attachments = [:attachments] || [] @parameters = [:parameters] || [] end |
Instance Attribute Details
#attachments ⇒ Object
Returns the value of attribute attachments.
30 31 32 |
# File 'lib/allure_ruby_commons/model/executable_item.rb', line 30 def @attachments end |
#description ⇒ Object
Returns the value of attribute description.
30 31 32 |
# File 'lib/allure_ruby_commons/model/executable_item.rb', line 30 def description @description end |
#description_html ⇒ Object
Returns the value of attribute description_html.
30 31 32 |
# File 'lib/allure_ruby_commons/model/executable_item.rb', line 30 def description_html @description_html end |
#name ⇒ Object
Returns the value of attribute name.
30 31 32 |
# File 'lib/allure_ruby_commons/model/executable_item.rb', line 30 def name @name end |
#parameters ⇒ Object
Returns the value of attribute parameters.
30 31 32 |
# File 'lib/allure_ruby_commons/model/executable_item.rb', line 30 def parameters @parameters end |
#stage ⇒ Object
Returns the value of attribute stage.
30 31 32 |
# File 'lib/allure_ruby_commons/model/executable_item.rb', line 30 def stage @stage end |
#start ⇒ Object
Returns the value of attribute start.
30 31 32 |
# File 'lib/allure_ruby_commons/model/executable_item.rb', line 30 def start @start end |
#status ⇒ Object
Returns the value of attribute status.
30 31 32 |
# File 'lib/allure_ruby_commons/model/executable_item.rb', line 30 def status @status end |
#status_details ⇒ Object
Returns the value of attribute status_details.
30 31 32 |
# File 'lib/allure_ruby_commons/model/executable_item.rb', line 30 def status_details @status_details end |
#steps ⇒ Object
Returns the value of attribute steps.
30 31 32 |
# File 'lib/allure_ruby_commons/model/executable_item.rb', line 30 def steps @steps end |
#stop ⇒ Object
Returns the value of attribute stop.
30 31 32 |
# File 'lib/allure_ruby_commons/model/executable_item.rb', line 30 def stop @stop end |