Module: AllureRSpec

Defined in:
lib/allure-rspec/version.rb,
lib/allure-rspec.rb,
lib/allure-rspec/dsl.rb,
lib/allure-rspec/hooks.rb,
lib/allure-rspec/adaptor.rb,
lib/allure-rspec/formatter.rb

Overview

:nodoc:

Defined Under Namespace

Modules: Adaptor, Config, DSL, Hooks, Version Classes: Context, Formatter

Class Method Summary collapse

Class Method Details

.configure {|Config| ... } ⇒ Object

Yields:



47
48
49
50
51
52
53
# File 'lib/allure-rspec.rb', line 47

def configure(&block)
  yield Config
  AllureRubyAdaptorApi.configure { |c|
    c.output_dir = Config.output_dir
    c.logging_level = Config.logging_level
  }
end

.contextObject



41
42
43
# File 'lib/allure-rspec.rb', line 41

def context
  @context ||= Context.new
end