Module: AllureRSpec::Config

Defined in:
lib/allure-rspec.rb

Constant Summary collapse

DEFAULT_OUTPUT_DIR =
'gen/allure-results'
DEFAULT_LOGGING_LEVEL =
Logger::DEBUG

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.clean_dirObject

Returns the value of attribute clean_dir.



12
13
14
# File 'lib/allure-rspec.rb', line 12

def clean_dir
  @clean_dir
end

.logging_levelObject

Returns the value of attribute logging_level.



13
14
15
# File 'lib/allure-rspec.rb', line 13

def logging_level
  @logging_level
end

.output_dirObject

Returns the value of attribute output_dir.



11
12
13
# File 'lib/allure-rspec.rb', line 11

def output_dir
  @output_dir
end

Class Method Details

.clean_dir?Boolean

Returns:

  • (Boolean)


22
23
24
# File 'lib/allure-rspec.rb', line 22

def clean_dir?
  @clean_dir.nil? ? true : @clean_dir
end