class AllureRspec::RspecConfig

Allure RSpec configuration class

@!attribute results_directory

@return [String]

@!attribute clean_results_directory

@return [Boolean]

@!attribute link_issue_pattern

@return [String]

@!attribute link_tms_pattern

@return [String]

@!attribute logging_level

@return [Integer]

@!attribute [r] logger

@return [Logger]

@!attribute environment

@return [String]

Constants

DEFAULT_EPIC_TAG

@return [Symbol] default epic tag

DEFAULT_FEATURE_TAG

@return [Symbol] default feature tag

DEFAULT_ISSUE_TAG

@return [Symbol] default issue tag

DEFAULT_SEVERITY_TAG

@return [Symbol] default severity tag

DEFAULT_STORY_TAG

@return [Symbol] default story tag

DEFAULT_TMS_TAG

@return [Symbol] default tms tag

Attributes

epic_tag[W]
feature_tag[W]
ignored_tags[W]
issue_tag[W]
severity_tag[W]
story_tag[W]
tms_tag[W]

Public Class Methods

new() click to toggle source
# File lib/allure_rspec/config.rb, line 38
def initialize
  @allure_config = Allure.configuration
end

Public Instance Methods

epic_tag() click to toggle source

@return [Symbol]

# File lib/allure_rspec/config.rb, line 66
def epic_tag
  @epic_tag || DEFAULT_EPIC_TAG
end
feature_tag() click to toggle source

@return [Symbol]

# File lib/allure_rspec/config.rb, line 71
def feature_tag
  @feature_tag || DEFAULT_FEATURE_TAG
end
ignored_tags() click to toggle source

@return [Array]

# File lib/allure_rspec/config.rb, line 81
def ignored_tags
  @ignored_tags || []
end
issue_tag() click to toggle source

@return [Symbol]

# File lib/allure_rspec/config.rb, line 56
def issue_tag
  @issue_tag || DEFAULT_ISSUE_TAG
end
method_missing(method, ...) click to toggle source
Calls superclass method
# File lib/allure_rspec/config.rb, line 85
def method_missing(method, ...)
  @allure_config.respond_to?(method) ? @allure_config.send(method, ...) : super
end
respond_to_missing?(method, include_private = false) click to toggle source
Calls superclass method
# File lib/allure_rspec/config.rb, line 89
def respond_to_missing?(method, include_private = false)
  @allure_config.respond_to?(method, include_private) || super
end
severity_tag() click to toggle source

@return [Symbol]

# File lib/allure_rspec/config.rb, line 61
def severity_tag
  @severity_tag || DEFAULT_SEVERITY_TAG
end
story_tag() click to toggle source

@return [Symbol]

# File lib/allure_rspec/config.rb, line 76
def story_tag
  @story_tag || DEFAULT_STORY_TAG
end
tms_tag() click to toggle source

@return [Symbol]

# File lib/allure_rspec/config.rb, line 51
def tms_tag
  @tms_tag || DEFAULT_TMS_TAG
end