Sha256: 586b833d782d45a3a54c537394ab320c5c81fe15616b7b66fe3550de8be63202

Contents?: true

Size: 543 Bytes

Versions: 11

Compression:

Stored size: 543 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

11 entries across 11 versions & 1 rubygems

Version Path
albacore-0.3.6 lib/albacore/config/specflowreportconfig.rb
albacore-1.0.0.rc.2 lib/albacore/config/specflowreportconfig.rb
albacore-1.0.0.rc.1 lib/albacore/config/specflowreportconfig.rb
albacore-0.3.5 lib/albacore/config/specflowreportconfig.rb
albacore-0.3.4 lib/albacore/config/specflowreportconfig.rb
albacore-0.3.3 lib/albacore/config/specflowreportconfig.rb
albacore-0.3.2 lib/albacore/config/specflowreportconfig.rb
albacore-0.3.1 lib/albacore/config/specflowreportconfig.rb
albacore-0.3.0 lib/albacore/config/specflowreportconfig.rb
albacore-0.2.7 lib/albacore/config/specflowreportconfig.rb
albacore-0.2.6 lib/albacore/config/specflowreportconfig.rb