Sha256: 9d90bd3346560b756a61b56b83ac4f58c3ce5bb17daa43848efb3b177fbe89a1

Contents?: true

Size: 567 Bytes

Versions: 5

Compression:

Stored size: 567 Bytes

Contents

require 'ostruct'
require 'albacore/support/openstruct'

module Configuration
  module SpecFlowReport
    include Albacore::Configuration

    def self.specflowreportconfig
      @specflowreportconfig ||= OpenStruct.new.extend(OpenStructToHash)
    end

    def specflowreport
      config = SpecFlowReport.specflowreportconfig
      yield(config) if block_given?
      config
    end

    def self.included(obj)
      specflowreportconfig.command = 'specflow.exe'
      specflowreportconfig.report = 'nunitexecutionreport'
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
albacore-0.2.5 lib/albacore/config/specflowreportconfig.rb
albacore-0.2.4 lib/albacore/config/specflowreportconfig.rb
albacore-0.2.3 lib/albacore/config/specflowreportconfig.rb
albacore-0.2.2 lib/albacore/config/specflowreportconfig.rb
albacore-0.2.0.preview2 lib/albacore/config/specflowreportconfig.rb