hiptest-publisher 0.15.0 → 0.15.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/hiptest-publisher/options_parser.rb +3 -1
- data/lib/templates/gherkin/dataset.hbs +1 -1
- data/lib/templates/gherkin/single_scenario.hbs +2 -2
- 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: cbfe55c78224221763029c2faea6f5458808d9bc
|
4
|
+
data.tar.gz: 7f31341a741155533de9b551e436b379c535837f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a78851712eec55da97b8562349534ff07933fa9b5181dca5e9358cf55b76bd376cd930d5d7243184934e86b9e68ba4bc5e1698c8dfecefee212b3aaf5798ac68
|
7
|
+
data.tar.gz: 7718c3eb5a79e086641d534e6338721eabfbfdf3524962a58424c03d6a6cc67f7fb274839b0220e5eb53d0cb579904a17d0fe1ea8332d0c8182f52f7734c878e
|
data/README.md
CHANGED
@@ -40,7 +40,7 @@ You need to have [Ruby installed on your machine](https://www.ruby-lang.org/en/i
|
|
40
40
|
gem install hiptest-publisher
|
41
41
|
```
|
42
42
|
|
43
|
-
Note: for Windows user, take a look, at [this (short) documentation](docs/Windows.md).
|
43
|
+
Note: for Windows user, take a look, at [this (short) documentation](docs/INSTALLING/Windows.md).
|
44
44
|
|
45
45
|
Exporting a project
|
46
46
|
-------------------
|
@@ -188,6 +188,7 @@ class OptionsParser
|
|
188
188
|
Option.new('p', 'push=FILE.TAP', '', String, "Push a results file to the server", :push),
|
189
189
|
Option.new(nil, 'push-format=tap', 'tap', String, "Format of the test results (tap, junit, nunit, robot)", :push_format),
|
190
190
|
Option.new(nil, 'sort=[id,order,alpha]', 'order', String, "Sorting of tests in output: id will sort them by age, order will keep the same order than in hiptest (only with --with-folders option, will fallback to id otherwise), alpha will sort them by name", :sort),
|
191
|
+
Option.new(nil, 'no-uids', false, nil, 'Do not export UIDs (note: only for Gherkin-based exports, may cause issue when pushing results back)', :no_uids),
|
191
192
|
Option.new('v', 'verbose', false, nil, "Run verbosely", :verbose)
|
192
193
|
]
|
193
194
|
end
|
@@ -494,7 +495,8 @@ class LanguageGroupConfig
|
|
494
495
|
node: node,
|
495
496
|
call_prefix: @language_group_params[:call_prefix],
|
496
497
|
package: @language_group_params[:package],
|
497
|
-
namespace: @language_group_params[:namespace]
|
498
|
+
namespace: @language_group_params[:namespace],
|
499
|
+
no_uids: @user_params[:no_uids]
|
498
500
|
)
|
499
501
|
end
|
500
502
|
|
@@ -1 +1 @@
|
|
1
|
-
| {{{ join rendered_children.arguments ' | ' }}} | {{#if rendered_children.uid}}uid:{{{rendered_children.uid}}}{{/if}} |
|
1
|
+
| {{{ join rendered_children.arguments ' | ' }}} |{{#unless context.no_uids}} {{#if rendered_children.uid}}uid:{{{rendered_children.uid}}}{{/if}} |{{/unless}}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
{{#if has_datasets?}}
|
2
2
|
{{#if has_tags?}}{{join rendered_children.tags ' '}}
|
3
|
-
{{/if}}Scenario Outline: {{{ rendered_children.name }}}{{#if rendered_children.uid}} (uid:{{{rendered_children.uid}}}){{/if}}{{#indent}}
|
3
|
+
{{/if}}Scenario Outline: {{{ rendered_children.name }}}{{#unless context.no_uids}}{{#if rendered_children.uid}} (uid:{{{rendered_children.uid}}}){{/if}}{{/unless}}{{#indent}}
|
4
4
|
{{#each rendered_children.body}}{{{ this }}}
|
5
5
|
{{/each}}
|
6
6
|
Examples:{{#indent}}
|
7
|
-
| {{ join rendered_children.parameters ' | ' }} | hiptest-uid |
|
7
|
+
| {{ join rendered_children.parameters ' | ' }} |{{#unless context.no_uids}} hiptest-uid |{{/unless}}
|
8
8
|
{{{rendered_children.datatable}}}
|
9
9
|
{{/indent}}{{/indent}}
|
10
10
|
{{else}}
|
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: 0.15.
|
4
|
+
version: 0.15.1
|
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: 2016-06-
|
11
|
+
date: 2016-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|