hiptest-publisher 1.2.7 → 1.2.8

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: 1cc1561ae4126b0589a74d211c3719e8ba4df70a
4
- data.tar.gz: 51bf2125c7c58c12de19d366cf73c411c6631613
3
+ metadata.gz: 2df6d155b165295aea78c69190d5b64985f6ede9
4
+ data.tar.gz: 0fce7d0915ae103f26b0879b6afbb45a2b167201
5
5
  SHA512:
6
- metadata.gz: '0314810bce151e4f1a0d661b9f661f9fccfeb9ff90c3243f53b37a4bc5527881d01431938fb71f74b212ed5469b0fe9161beeefccaef9f7b7de1eba69ea8d081'
7
- data.tar.gz: 7098e7314c58cfcfaa7e5613481ed9b5d20e881d15e01396a1ca2425ef2a6754efd30557477d8ca39743ba85b5684f542f4c09f1422e48f49af0b437703435a6
6
+ metadata.gz: ce1a52bfcd60a18f37244e6c7527f1889ea9799b9fc946b3f5a17475e541b81fc9a041327fb0ffbf66199f8f634cd801382766d7695ec74fef1cdf19a88379ab
7
+ data.tar.gz: e85516fbd9f50037ba785e9c2b8fd9604d1c909fbea23904d5d1ae355ce99391cc6bf0bd4d9af24a0c7c3d98a4fdc5b29260a52132bbf18fa83463a93a965670
@@ -5,7 +5,7 @@ fallback_template = 'empty'
5
5
 
6
6
  [features]
7
7
  node_name = folders
8
- template_dirs = gherkin, common
8
+ template_dirs = gherkin/java, gherkin, common
9
9
  named_filename = '%s.feature'
10
10
  indentation = ' '
11
11
 
@@ -0,0 +1,18 @@
1
+ {{#if has_datasets?}}
2
+ {{#if has_tags?}}{{join rendered_children.tags ' '}}
3
+ {{/if}}Scenario Outline: {{{ rendered_children.name }}}{{#if context.uids}}{{#if rendered_children.uid}} (uid:{{{rendered_children.uid}}}){{/if}}{{/if}}{{#indent}}
4
+ {{#if has_description?}}{{#comment '#'}}{{rendered_children.description}}{{/comment}}
5
+ {{/if}}{{#each rendered_children.body}}{{{ this }}}
6
+ {{/each}}
7
+ Examples:{{#indent}}
8
+ | {{ join rendered_children.parameters ' | ' }} |{{#if context.uids}} hiptest-uid |{{/if}}
9
+ {{{rendered_children.datatable}}}
10
+ {{/indent}}{{/indent}}
11
+ {{else}}
12
+ {{#if has_tags?}}{{join rendered_children.tags ' '}}
13
+ {{/if}}Scenario: {{{ rendered_children.name }}}{{#if context.uids}}{{#if rendered_children.uid}} (uid:{{{rendered_children.uid}}}){{/if}}{{/if}}{{#indent}}
14
+ {{#if has_description?}}{{#comment '#'}}{{rendered_children.description}}{{/comment}}
15
+ {{/if}}{{#each rendered_children.body}}{{{ this }}}
16
+ {{/each}}
17
+ {{/indent}}
18
+ {{/if}}
@@ -0,0 +1 @@
1
+ {{#unless is_empty?}}{{> scenario}}{{/unless}}
@@ -1,18 +1 @@
1
- {{#if has_datasets?}}
2
- {{#if has_tags?}}{{join rendered_children.tags ' '}}
3
- {{/if}}Scenario Outline: {{{ rendered_children.name }}}{{#if context.uids}}{{#if rendered_children.uid}} (uid:{{{rendered_children.uid}}}){{/if}}{{/if}}{{#indent}}
4
- {{#if has_description?}}{{#comment '#'}}{{rendered_children.description}}{{/comment}}
5
- {{/if}}{{#each rendered_children.body}}{{{ this }}}
6
- {{/each}}
7
- Examples:{{#indent}}
8
- | {{ join rendered_children.parameters ' | ' }} |{{#if context.uids}} hiptest-uid |{{/if}}
9
- {{{rendered_children.datatable}}}
10
- {{/indent}}{{/indent}}
11
- {{else}}
12
- {{#if has_tags?}}{{join rendered_children.tags ' '}}
13
- {{/if}}Scenario: {{{ rendered_children.name }}}{{#if context.uids}}{{#if rendered_children.uid}} (uid:{{{rendered_children.uid}}}){{/if}}{{/if}}{{#indent}}
14
- {{#if has_description?}}{{#comment '#'}}{{rendered_children.description}}{{/comment}}
15
- {{/if}}{{#each rendered_children.body}}{{{ this }}}
16
- {{/each}}
17
- {{/indent}}
18
- {{/if}}
1
+ {{> scenario}}
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.2.7
4
+ version: 1.2.8
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-06-01 00:00:00.000000000 Z
11
+ date: 2017-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize
@@ -329,11 +329,13 @@ files:
329
329
  - lib/templates/cucumber/javascript/actionword.hbs
330
330
  - lib/templates/cucumber/javascript/actionwords.hbs
331
331
  - lib/templates/cucumber/parameter.hbs
332
+ - lib/templates/gherkin/_scenario.hbs
332
333
  - lib/templates/gherkin/argument.hbs
333
334
  - lib/templates/gherkin/call.hbs
334
335
  - lib/templates/gherkin/dataset.hbs
335
336
  - lib/templates/gherkin/datatable.hbs
336
337
  - lib/templates/gherkin/folder.hbs
338
+ - lib/templates/gherkin/java/single_scenario.hbs
337
339
  - lib/templates/gherkin/parameter.hbs
338
340
  - lib/templates/gherkin/scenarios.hbs
339
341
  - lib/templates/gherkin/single_scenario.hbs
@@ -620,7 +622,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
620
622
  version: '0'
621
623
  requirements: []
622
624
  rubyforge_project:
623
- rubygems_version: 2.6.10
625
+ rubygems_version: 2.6.8
624
626
  signing_key:
625
627
  specification_version: 4
626
628
  summary: Export your tests from Hiptest into executable tests.