fastlane-plugin-test_center 3.0.6 → 3.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 35321c2defc2f21fd8cfd469f9b1411491a24ebf
4
- data.tar.gz: 04e686123a54be806e98e1fe4d1960957da49871
3
+ metadata.gz: 002ee83baf690bd988ab88dee76833c3ec30cb74
4
+ data.tar.gz: df417c3aa7a13a917bb01fe62d68b1a43a7a6a8a
5
5
  SHA512:
6
- metadata.gz: 768d9dcf3c5953e812f6a8a06f5b6890f89bd64311bd724f17faae7a92bb05973942c00603491fd7f95cf077464dd3846e61d3dce15572783099cb2acac07dc3
7
- data.tar.gz: 78d9cf8f8d0525a9078246d754a4c0740c174bb023968d47fddca3f36998396cdf6a5207cb49fde8ce238870507362d158f7db792d879605a4411d5b640c097b
6
+ metadata.gz: 7238427e73cb79e715d624b1bddca82a6f2ba60d968602afffc024618c533bd82f0238447f6d69f431ba5f0c6f35bccb2a7c2ba2ea8c1fac515e6af2800f1de3
7
+ data.tar.gz: 3b7e3541300fb795e26dfdf157027871c18d126369640f2b0f4a4cb7c75940e546d9f28fd6d686710be580313ee75f069be259e00cec26ab34fab5a279262620
@@ -28,6 +28,7 @@ module TestCenter
28
28
  testrun_completed_block
29
29
  ].include?(option)
30
30
  end
31
+ @scan_options[:clean] = false
31
32
  @test_collector = TestCollector.new(multi_scan_options)
32
33
  end
33
34
 
@@ -8,8 +8,8 @@ module TestCenter
8
8
  class Report
9
9
  def initialize(junit_report_filepath)
10
10
  report_file = File.open(junit_report_filepath) { |f| REXML::Document.new(f) }
11
- UI.user_error!("Malformed XML test report file given") if report_file.root.nil?
12
- UI.user_error!("Valid XML file is not an Xcode test report") if report_file.get_elements('testsuites').empty?
11
+ FastlaneCore::UI.user_error!("Malformed XML test report file given") if report_file.root.nil?
12
+ FastlaneCore::UI.user_error!("Valid XML file is not an Xcode test report") if report_file.get_elements('testsuites').empty?
13
13
 
14
14
  @testables = []
15
15
  report_file.elements.each('testsuites') do |testsuites_element|
@@ -2,10 +2,14 @@ module TestCenter
2
2
  module Helper
3
3
  require 'fastlane_core/ui/ui.rb'
4
4
  require 'plist'
5
+ require 'pry-byebug'
5
6
 
6
7
  class TestCollector
7
8
  def initialize(options)
8
9
  @xctestrun_path = options[:xctestrun] || derived_testrun_path(options[:derived_data_path], options[:scheme])
10
+ unless @xctestrun_path && File.exist?(@xctestrun_path)
11
+ FastlaneCore::UI.user_error!("Error: cannot find xctestrun file '#{@xctestrun_path}'")
12
+ end
9
13
  @only_testing = options[:only_testing]
10
14
  @skip_testing = options[:skip_testing]
11
15
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module TestCenter
3
- VERSION = "3.0.6"
3
+ VERSION = "3.0.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-test_center
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.6
4
+ version: 3.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lyndsey Ferguson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-06 00:00:00.000000000 Z
11
+ date: 2018-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: plist