Class: Allure::Config

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

Overview

Allure configuration class

Constant Summary collapse

DEFAULT_RESULTS_DIRECTORY =
"reports/allure-results"
DEFAULT_LOGGING_LEVEL =
Logger::INFO

Class Attribute Summary collapse

Class Attribute Details

.clean_results_directoryObject

Returns the value of attribute clean_results_directory


14
15
16
# File 'allure-ruby-commons/lib/allure_ruby_commons/config.rb', line 14

def clean_results_directory
  @clean_results_directory
end

Returns the value of attribute link_issue_pattern


14
15
16
# File 'allure-ruby-commons/lib/allure_ruby_commons/config.rb', line 14

def link_issue_pattern
  @link_issue_pattern
end

Returns the value of attribute link_tms_pattern


14
15
16
# File 'allure-ruby-commons/lib/allure_ruby_commons/config.rb', line 14

def link_tms_pattern
  @link_tms_pattern
end

.logging_levelObject


21
22
23
# File 'allure-ruby-commons/lib/allure_ruby_commons/config.rb', line 21

def logging_level
  @logging_level || DEFAULT_LOGGING_LEVEL
end

.results_directoryObject


17
18
19
# File 'allure-ruby-commons/lib/allure_ruby_commons/config.rb', line 17

def results_directory
  @results_directory || DEFAULT_RESULTS_DIRECTORY
end