devicefarm 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/devicefarm.rb +8 -7
- 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: ae1cdfd964fb07a0bbe6c34929610171eb0873d9
|
4
|
+
data.tar.gz: e580caae111c986c715ce9650da92ae02c9d79df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: daa9501853e79f141eda8e95109157dd4a6707c5b4bd1d00c5ccc2563aad030471c2b17cdbe8a14491f640b2e001678ddd863ca57e33ae8e596b2d73bafa4163
|
7
|
+
data.tar.gz: 315f4f0e4490e6f902724df65e367b0400679b8d147c6d2781ed6eb89d78ee19b8cf6d2472b77c436579f09c702ea7108aa635b0399b2b64c9431bd87b89068d
|
data/lib/devicefarm.rb
CHANGED
@@ -8,7 +8,7 @@ class DeviceFarm
|
|
8
8
|
end
|
9
9
|
end
|
10
10
|
|
11
|
-
|
11
|
+
def self.test_with_calabash(
|
12
12
|
project_name:,
|
13
13
|
device_pool_name:,
|
14
14
|
binary_path:,
|
@@ -21,17 +21,18 @@ class DeviceFarm
|
|
21
21
|
project:project)
|
22
22
|
upload_apk = devicefarmapi.upload_artifact(
|
23
23
|
file_path:binary_path,
|
24
|
-
type: get_device_type_by_binary,
|
24
|
+
type: get_device_type_by_binary(binary_path),
|
25
25
|
project:project)
|
26
26
|
upload_artifact_test = devicefarmapi.upload_artifact(
|
27
27
|
file_path:calabash_test_package_path,
|
28
28
|
type: "CALABASH_TEST_PACKAGE",
|
29
29
|
project:project)
|
30
|
-
devicefarmapi.run(
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
30
|
+
devicefarmapi.run(
|
31
|
+
project:project,
|
32
|
+
device_pool:device_pool,
|
33
|
+
upload_apk:upload_apk,
|
34
|
+
upload_artifact_test:upload_artifact_test,
|
35
|
+
type: "CALABASH")
|
35
36
|
end
|
36
37
|
|
37
38
|
end
|