xamarin-test-cloud 0.9.4 → 0.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/xamarin-test-cloud/cli.rb +14 -5
- data/lib/xamarin-test-cloud/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 978c78382c5be8bbbb025e0aae28451bdcbda8d2
|
4
|
+
data.tar.gz: 6971d45bd4ea72c844cc7eda63a6c97778ba839b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f5bffa3b63df65cd84306e832f3eab5a3fa0eab1d8a91736d7c3ca91444657755b8813919a840568810f8324023f93ee7dd777c4721341a691649c99529ee47
|
7
|
+
data.tar.gz: c5d69753c5165a476043058538494b45dd77edb27c7a209b253e3aa92bde4791d9154e52150c0086ddfb93f98a08b847962ec9bcd775d84b49099ac2aa9fdefe
|
@@ -198,17 +198,26 @@ module XamarinTestCloud
|
|
198
198
|
def wait_for_job(id)
|
199
199
|
while(true)
|
200
200
|
status_json = JSON.parse(http_post("status", {'id' => id, 'api_key' => api_key}))
|
201
|
-
|
201
|
+
|
202
|
+
|
202
203
|
log "Status: #{status_json["status_description"]}"
|
203
204
|
if status_json["status"] == "finished"
|
204
205
|
puts "Done!"
|
206
|
+
if ENV['DEBUG'] == '1'
|
207
|
+
log "Status JSON result"
|
208
|
+
puts status_json
|
209
|
+
end
|
205
210
|
log_header "Test Summary"
|
206
211
|
calabash_data = status_json["calabash_data"]
|
207
|
-
puts "Total scenarios: #{calabash_data["scenarios"]["total"]}"
|
208
|
-
puts "#{calabash_data["scenarios"]["passed"]} passed"
|
209
|
-
puts "#{calabash_data["scenarios"]["failed"]} failed"
|
210
212
|
|
211
|
-
|
213
|
+
if calabash_data
|
214
|
+
puts "Total scenarios: #{calabash_data["scenarios"]["total"]}"
|
215
|
+
|
216
|
+
puts "#{calabash_data["scenarios"]["passed"]} passed"
|
217
|
+
puts "#{calabash_data["scenarios"]["failed"]} failed"
|
218
|
+
|
219
|
+
puts "Total steps: #{calabash_data["steps"]["total"]}"
|
220
|
+
end
|
212
221
|
exit 0
|
213
222
|
end
|
214
223
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xamarin-test-cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karl Krukow
|
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
129
129
|
version: '0'
|
130
130
|
requirements: []
|
131
131
|
rubyforge_project:
|
132
|
-
rubygems_version: 2.0.
|
132
|
+
rubygems_version: 2.0.2
|
133
133
|
signing_key:
|
134
134
|
specification_version: 4
|
135
135
|
summary: Command-line interface to Xamarin Test Cloud
|
@@ -140,3 +140,4 @@ test_files:
|
|
140
140
|
- test/ipa/features/support/hooks.rb
|
141
141
|
- test/ipa/features/support/launch.rb
|
142
142
|
- test/test_parser.rb
|
143
|
+
has_rdoc:
|