Skip to content

Commit

Permalink
Removes real command execution.
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksanderlorenc-lw committed Aug 21, 2024
1 parent b4a2932 commit 6cfbc9d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions spec/xcresult_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,24 @@
RSpec.describe "XCResult Test Summaries" do
let(:path) { File.absolute_path("./spec/fixtures/Test.xcresult") }
let(:summary_id) { "0~2LVFAe2LWJ7FCnOsKan5UgGk7WChVJYuZlxPILKyxdpmfjsMrwjBJ2wUhaJQJ36Per_GRUfTI1cKeO2QiGvB8Q==" }
let!(:subject) { XCResult::Parser.new(path: path) }

it 'has a version number' do
expect(XCResult::VERSION).not_to be nil
end

it 'parse xccov report paths' do
require 'tmpdir'
destination = Dir.mktmpdir

parser = XCResult::Parser.new(path: path)
export_xccovreport_paths = parser.export_xccovreports(destination: destination)

expect(export_xccovreport_paths.count).to eq(1)
end

it 'parse test plan summaries' do
summaries = subject.action_test_plan_summaries
parser = XCResult::Parser.new(path: path)
summaries = parser.action_test_plan_summaries

testable_summary = summaries[0].summaries[0].testable_summaries[0]

Expand Down

0 comments on commit 6cfbc9d

Please sign in to comment.