hiptest-publisher 1.3.1 → 1.4.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c34af5dd484615d5f9a21ec6d3a7d3d8532d595
|
4
|
+
data.tar.gz: 30a1cc2be8a0a7ac9d2e9f8c3fe89c8b5d8035ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 795d67b834a18ffe1b35a1608eaffa50d947d9aaead6cf01afd732bd903614b31d41e1d7ccfa8c4f5559eeec154d78ee55bfd052d6ff471f7e166144f89e4b6b
|
7
|
+
data.tar.gz: 7d758bf2f67395f0c6e46d191983393013bb94887eb5d4a3d34abeecfd5b940079d2055212b54bdecc331880904432a926169a5b67ac241139de06ed108e44bc
|
@@ -36,7 +36,9 @@ module Hiptest
|
|
36
36
|
filter_on_tags: 'filter_tags'
|
37
37
|
}
|
38
38
|
|
39
|
-
options =
|
39
|
+
options = []
|
40
|
+
|
41
|
+
mapping.each do |key, filter_name|
|
40
42
|
value = @cli_options.send(key)
|
41
43
|
next if value.nil? || value.empty?
|
42
44
|
|
@@ -44,9 +46,14 @@ module Hiptest
|
|
44
46
|
value = value.split(',').map(&:strip).join(',')
|
45
47
|
end
|
46
48
|
|
47
|
-
"#{filter_name}=#{value}"
|
48
|
-
|
49
|
-
|
49
|
+
options << "#{filter_name}=#{value}"
|
50
|
+
if [:filter_on_folder_ids, :filter_on_folder_name].include?(key) && @cli_options.send(:not_recursive)
|
51
|
+
options << "not_recursive=true"
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
|
56
|
+
return options.empty? ? '' : "?#{options.join('&')}"
|
50
57
|
end
|
51
58
|
|
52
59
|
def test_run_export_filter
|
@@ -225,6 +225,7 @@ class OptionsParser
|
|
225
225
|
Option.new(nil, 'filter-on-folder-name=NAME', '', String, "Filter on folder name (only one name is accepted)", :filter_on_folder_name),
|
226
226
|
Option.new(nil, 'filter-on-tags=TAGS', '', String, "Filter on scenarios and folder tags (use commas to separate tags when using multiple tags)", :filter_on_tags),
|
227
227
|
Option.new(nil, 'filter-on-status=STATUS', '', String, "Filter on test status in last build (use in conjunction with a test run)", :filter_on_status),
|
228
|
+
Option.new(nil, 'not-recursive', false, nil, "Used in conjunction with filter-on-folder-ids or filter-on-folder-name: only exports those folders, not their children", :not_recursive),
|
228
229
|
Option.new(nil, 'check-version', false, nil, "Check if a new release of hiptest-publisher is available", :check_version),
|
229
230
|
Option.new('v', 'verbose', false, nil, "Run verbosely", :verbose)
|
230
231
|
]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hiptest-publisher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hiptest R&D
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|
@@ -622,7 +622,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
622
622
|
version: '0'
|
623
623
|
requirements: []
|
624
624
|
rubyforge_project:
|
625
|
-
rubygems_version: 2.6.
|
625
|
+
rubygems_version: 2.6.10
|
626
626
|
signing_key:
|
627
627
|
specification_version: 4
|
628
628
|
summary: Export your tests from Hiptest into executable tests.
|