Sha256: 8ac83a9529687e03d2ed408caef459fa790f7454e9fe63a820dcc4bf009d12d1

Contents?: true

Size: 699 Bytes

Versions: 4

Compression:

Stored size: 699 Bytes

Contents

require 'coverage_plan'

RSpec.describe XCodeBuildHelper::CoveragePlan do
  context "Setter methods" do
    before(:each) do
      @coverage_plan = XCodeBuildHelper::CoveragePlan.new
    end
    it "should set the report type" do
      @coverage_plan.report_type "REPORT_TYPE"
      expect(@coverage_plan.get_report_type).to eq "REPORT_TYPE"
    end

    it "should set the source files" do
      @coverage_plan.source_files ["path/tofiles/*.m"]
      expect(@coverage_plan.get_source_files).to eq ["path/tofiles/*.m"]
    end

    it "should set the output location" do
      @coverage_plan.output "/path/to/output"
      expect(@coverage_plan.get_output).to eq "/path/to/output"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
xcodebuild-helper-1.2.5 spec/coverage_plan_spec.rb
xcodebuild-helper-1.2.3 spec/coverage_plan_spec.rb
xcodebuild-helper-1.1.1 spec/coverage_plan_spec.rb
xcodebuild-helper-1.1.0 spec/coverage_plan_spec.rb