rubotium 0.0.22 → 0.0.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rubotium/version.rb +1 -1
- data/lib/rubotium.rb +5 -6
- 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: 40fc305275432595df104433133086fa746bd09c
|
4
|
+
data.tar.gz: 4a9bf9a5c423fa4ba10ae7f38fdcf3b3425f6f0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42af5335b768bf4e10c26161aaf862a601afcdec13b809eb93b5205f1b6f28daaa95fdb29ca3ce53be33a2239d24a7b6331849f62999d883ec4020b06f4525e2
|
7
|
+
data.tar.gz: e306502eb90865f7836dd7ab25b3d935fbc3689b4a3e4a555abefd609fe94bf13afa547d52db18ea154f94f132168f35d7e87751d61f874fdfe838fa42c0e62e
|
data/lib/rubotium/version.rb
CHANGED
data/lib/rubotium.rb
CHANGED
@@ -62,10 +62,10 @@ module Rubotium
|
|
62
62
|
devices = Devices.new(:name => opts[:device_matcher], :sdk => opts[:device_sdk], :serial=> opts[:serial]).all
|
63
63
|
|
64
64
|
devices = Parallel.map(devices, :in_threads => devices.count) {|device|
|
65
|
-
device.uninstall application_package.name
|
66
|
-
device.install application_package.path
|
67
|
-
device.uninstall tests_package.name
|
68
|
-
device.install tests_package.path
|
65
|
+
# device.uninstall application_package.name
|
66
|
+
# device.install application_package.path
|
67
|
+
# device.uninstall tests_package.name
|
68
|
+
# device.install tests_package.path
|
69
69
|
if !opts[:helper_apk_path].nil?
|
70
70
|
device.uninstall helper_package.name
|
71
71
|
device.install helper_package.path
|
@@ -79,11 +79,10 @@ module Rubotium
|
|
79
79
|
excluded_suites = Rubotium::TestCasesReader.new(devices.first, tests_package, { :annotation => opts[:exclude]}).read_tests
|
80
80
|
test_suites.reject!{|element|
|
81
81
|
excluded_suites.include? element
|
82
|
-
}
|
82
|
+
}
|
83
83
|
end
|
84
84
|
|
85
85
|
puts "There are #{test_suites.count} tests to run"
|
86
|
-
|
87
86
|
runner = Rubotium::TestsRunner.new(devices, test_suites, tests_package, {annotation: opts[:annotation], clear: application_package.name})
|
88
87
|
runner.run_tests
|
89
88
|
|