xamarin-test-cloud 0.9.3 → 0.9.4
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 -3
- data/lib/xamarin-test-cloud/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 302fbd76c27655c791f64527defcd3197e84806d
|
4
|
+
data.tar.gz: 3dd8b5afef287d26e9a222ae2c5444efc48661be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65278d8ae47a43a7e4fc26f12c2239f7338b2cc8625396b4f0cc15f9b3b916f1e8a39fbe9b822f7b89d94e3267344e2518bf1da53cde5bafbb4ba9328d2980a3
|
7
|
+
data.tar.gz: 217c24c3231daa30dc1c30d70e880ef0811a38a9087d68068cb5dd2a8a3e2dd90de341ea00b6c48b70389f3b57c25b24e07dd3569b5ea52637404a2e45f0ecc8
|
@@ -63,8 +63,8 @@ module XamarinTestCloud
|
|
63
63
|
:default => false
|
64
64
|
|
65
65
|
method_option 'test-parameters',
|
66
|
-
:desc => 'Test parameters (e.g.,
|
67
|
-
:aliases => 'params',
|
66
|
+
:desc => 'Test parameters (e.g., -params username:nat@xamarin.com password:xamarin)',
|
67
|
+
:aliases => '-params',
|
68
68
|
:type => :hash
|
69
69
|
|
70
70
|
|
@@ -202,6 +202,13 @@ module XamarinTestCloud
|
|
202
202
|
log "Status: #{status_json["status_description"]}"
|
203
203
|
if status_json["status"] == "finished"
|
204
204
|
puts "Done!"
|
205
|
+
log_header "Test Summary"
|
206
|
+
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
|
+
|
211
|
+
puts "Total steps: #{calabash_data["steps"]["total"]}"
|
205
212
|
exit 0
|
206
213
|
end
|
207
214
|
|
@@ -209,7 +216,11 @@ module XamarinTestCloud
|
|
209
216
|
puts "Failed!"
|
210
217
|
exit 1
|
211
218
|
end
|
212
|
-
|
219
|
+
if ENV['DEBUG']=='1'
|
220
|
+
sleep 1
|
221
|
+
else
|
222
|
+
sleep 10
|
223
|
+
end
|
213
224
|
end
|
214
225
|
end
|
215
226
|
|