fastlane-plugin-test_center 3.0.6 → 3.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 002ee83baf690bd988ab88dee76833c3ec30cb74
|
|
4
|
+
data.tar.gz: df417c3aa7a13a917bb01fe62d68b1a43a7a6a8a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7238427e73cb79e715d624b1bddca82a6f2ba60d968602afffc024618c533bd82f0238447f6d69f431ba5f0c6f35bccb2a7c2ba2ea8c1fac515e6af2800f1de3
|
|
7
|
+
data.tar.gz: 3b7e3541300fb795e26dfdf157027871c18d126369640f2b0f4a4cb7c75940e546d9f28fd6d686710be580313ee75f069be259e00cec26ab34fab5a279262620
|
|
@@ -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
|
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.
|
|
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-
|
|
11
|
+
date: 2018-03-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: plist
|