Class: Allure::TestResultContainer

Inherits:
JSONable
  • Object
show all
Defined in:
allure-ruby-commons/lib/allure_ruby_commons/model/test_result_container.rb

Overview

Allure model step result container

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from JSONable

#==, #as_json, #to_json

Constructor Details

#initialize(uuid: UUID.generate, name: "Unnamed") ⇒ TestResultContainer


7
8
9
10
11
12
13
14
# File 'allure-ruby-commons/lib/allure_ruby_commons/model/test_result_container.rb', line 7

def initialize(uuid: UUID.generate, name: "Unnamed")
  @uuid = uuid
  @name = name
  @children = []
  @befores = []
  @afters = []
  @links = []
end

Instance Attribute Details

#aftersObject

Returns the value of attribute afters


16
17
18
# File 'allure-ruby-commons/lib/allure_ruby_commons/model/test_result_container.rb', line 16

def afters
  @afters
end

#beforesObject

Returns the value of attribute befores


16
17
18
# File 'allure-ruby-commons/lib/allure_ruby_commons/model/test_result_container.rb', line 16

def befores
  @befores
end

#childrenObject

Returns the value of attribute children


16
17
18
# File 'allure-ruby-commons/lib/allure_ruby_commons/model/test_result_container.rb', line 16

def children
  @children
end

#descriptionObject

Returns the value of attribute description


16
17
18
# File 'allure-ruby-commons/lib/allure_ruby_commons/model/test_result_container.rb', line 16

def description
  @description
end

#description_htmlObject

Returns the value of attribute description_html


16
17
18
# File 'allure-ruby-commons/lib/allure_ruby_commons/model/test_result_container.rb', line 16

def description_html
  @description_html
end

Returns the value of attribute links


16
17
18
# File 'allure-ruby-commons/lib/allure_ruby_commons/model/test_result_container.rb', line 16

def links
  @links
end

#nameObject

Returns the value of attribute name


16
17
18
# File 'allure-ruby-commons/lib/allure_ruby_commons/model/test_result_container.rb', line 16

def name
  @name
end

#startObject

Returns the value of attribute start


16
17
18
# File 'allure-ruby-commons/lib/allure_ruby_commons/model/test_result_container.rb', line 16

def start
  @start
end

#stopObject

Returns the value of attribute stop


16
17
18
# File 'allure-ruby-commons/lib/allure_ruby_commons/model/test_result_container.rb', line 16

def stop
  @stop
end

#uuidObject

Returns the value of attribute uuid


16
17
18
# File 'allure-ruby-commons/lib/allure_ruby_commons/model/test_result_container.rb', line 16

def uuid
  @uuid
end