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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b72a0a8a9309f30ba6bde7cef2da18b2ee95baf1
4
- data.tar.gz: f26ad1f865052e9189f2c447a1cbcd193f8e9190
3
+ metadata.gz: 40fc305275432595df104433133086fa746bd09c
4
+ data.tar.gz: 4a9bf9a5c423fa4ba10ae7f38fdcf3b3425f6f0e
5
5
  SHA512:
6
- metadata.gz: ca53fbb7918edc915eae7ed05bdf6a89bb569a7fbf7e3e472adb9d9c9cc03b1dd84154e6a09f244dc0b62f6cf62dbbd603fcd85042b409de7a87f80ee7974589
7
- data.tar.gz: 394f30eda56f8c946c70ff18f6d9ccb35a5aa645d8d410c84a715c6e5515321b4ef0fa32b29d04e82cc117eb4d9f374947f90c36c72509b7fa939853e9fbcc98
6
+ metadata.gz: 42af5335b768bf4e10c26161aaf862a601afcdec13b809eb93b5205f1b6f28daaa95fdb29ca3ce53be33a2239d24a7b6331849f62999d883ec4020b06f4525e2
7
+ data.tar.gz: e306502eb90865f7836dd7ab25b3d935fbc3689b4a3e4a555abefd609fe94bf13afa547d52db18ea154f94f132168f35d7e87751d61f874fdfe838fa42c0e62e
@@ -1,3 +1,3 @@
1
1
  module Rubotium
2
- VERSION = "0.0.22"
2
+ VERSION = "0.0.23"
3
3
  end
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
- }.count
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubotium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.22
4
+ version: 0.0.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Slawomir Smiechura