Sha256: 67f19eb9ce85302cff81c791285970c83f32f85ce7d584ade9a628702f3dd109
Contents?: true
Size: 837 Bytes
Versions: 2
Compression:
Stored size: 837 Bytes
Contents
require 'allure-ruby-api' require 'allure-rspec/version' require 'allure-rspec/formatter' require 'allure-rspec/adaptor' require 'allure-rspec/dsl' require 'allure-rspec/hooks' module AllureRSpec include AllureRSpec::DSL module Config class << self attr_accessor :output_dir attr_accessor :clean_dir DEFAULT_OUTPUT_DIR = 'allure/data' def output_dir @output_dir || DEFAULT_OUTPUT_DIR end def clean_dir? @clean_dir || true end end end class Context attr_accessor :rspec def rspec @rspec end end class << self def context @context ||= Context.new end end class << self def configure(&block) yield Config AllureRubyApi.configure {|c| c.output_dir = Config.output_dir } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
allure-rspec-0.5.1 | lib/allure-rspec.rb |
allure-rspec-0.5.0 | lib/allure-rspec.rb |