rubotium 0.0.30 → 0.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/rubotium +3 -3
- data/lib/rubotium.rb +3 -2
- data/lib/rubotium/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5781f19670f7ac27a7d85af11cf7ed1c605490e0
|
|
4
|
+
data.tar.gz: 799bfe06c1cc5675ccbe2a7faa32da340c7f26f1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c07c369ccf64c17ad14e2eea2c97e14653ad17d4a38a709938ead40f88b159730505b04f67c3c2eaeb052de34ac9067d46b9061f5da9fea672630329a198931
|
|
7
|
+
data.tar.gz: 84f609939acc5b25668efc47364dbd1875d3ad990b253d4e7511432121b3c2b8d9a0b57d39ae0d665eb74d087041df480e43b9ed40455b832ae71dba59c6870a
|
data/bin/rubotium
CHANGED
|
@@ -12,8 +12,8 @@ opts = Trollop::options do
|
|
|
12
12
|
opt :device, 'Match devices', :type => :string, :short => '-d'
|
|
13
13
|
opt :sdk, 'Run on devices with sdk', :type => :string, :short => '-k'
|
|
14
14
|
opt :runner, 'Test runner', :type => :string, :short => '-r'
|
|
15
|
-
opt :annotation, 'Run
|
|
16
|
-
opt :
|
|
15
|
+
opt :annotation, 'Run tests with annotation', :type => :string, :short => '-n'
|
|
16
|
+
opt :excludes, 'Run tests without annotations',:type => :strings, :short => '-e'
|
|
17
17
|
opt :helper_apk_path, 'Path to the helper .apk file', :type => :string, :short => '-H'
|
|
18
18
|
opt :serial, 'Device serial', :type => :string, :short => '-s'
|
|
19
19
|
end
|
|
@@ -29,7 +29,7 @@ params = {
|
|
|
29
29
|
:device_sdk => opts[:sdk],
|
|
30
30
|
:runner => opts[:runner],
|
|
31
31
|
:annotation => opts[:annotation],
|
|
32
|
-
:
|
|
32
|
+
:excludes => opts[:excludes],
|
|
33
33
|
:helper_apk_path => opts[:helper_apk_path]
|
|
34
34
|
}
|
|
35
35
|
|
data/lib/rubotium.rb
CHANGED
|
@@ -75,8 +75,9 @@ module Rubotium
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
test_suites = Rubotium::TestCasesReader.new(devices.first, tests_package, { :annotation => opts[:annotation]}).read_tests
|
|
78
|
-
if opts[:
|
|
79
|
-
excluded_suites =
|
|
78
|
+
if opts[:excludes]
|
|
79
|
+
excluded_suites = []
|
|
80
|
+
opts[:excludes].each { |exclude| excluded_suites.concat(Rubotium::TestCasesReader.new(devices.first, tests_package, { :annotation => exclude}).read_tests) }
|
|
80
81
|
test_suites.reject!{ |test| excluded_suites.include? test }
|
|
81
82
|
|
|
82
83
|
puts "Excluded tests:"
|
data/lib/rubotium/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubotium
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.31
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Slawomir Smiechura
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-08-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|