hiptest-publisher 0.11.1 → 0.11.2

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: be4a3b2d0bbf17ed7a2af2d6d5046741f7409132
4
- data.tar.gz: 978b02362aaf8f9044aab395f52e36b6639eb9bb
3
+ metadata.gz: 92481eaaef2c39f506eef927d55614e9128bdb64
4
+ data.tar.gz: c775ba60cfaf9df6ede265cd76c2bec9c45a7311
5
5
  SHA512:
6
- metadata.gz: aeb755943f4b5e5d3edd6a2449d782de32622dd7d4e233f6723cb5c90bd09a4f051bb1b3122ef16fa0bc969758d65fdf8e2c551f6dee4a6e08d51a504c35b834
7
- data.tar.gz: 66d01375e139672cfc2976fc67273128e89690beb703e6e8f2692729ed2cdb454768134a1dadeea9c0d70e8bc2306f7a3445377b9a48414d1298699a06ae5976
6
+ metadata.gz: b6588cc807d448c99215f35d57d814e85d5f528c257cfc15f0106ac9070fbdbf2d2fdf9a0fa120ebeabd1a5a5639b1e46e3f20b82a666a56e508d2864728e5e9
7
+ data.tar.gz: 976e868e9a867fc48406a38ebf7b50b8639cfa1a41b0e110c6209457d038559e04a05a39e1fe83f7e8baddee6025f1e0c5b08ba83be4728471a0bc8afbe029e8
@@ -35,6 +35,14 @@ module Hiptest
35
35
  name: @rendered[sc.children[:name]],
36
36
  uid: @rendered[sc.children[:uid]],
37
37
  datatable: @rendered[sc.children[:datatable]],
38
+ datasets: sc.children[:datatable].children[:datasets].map {|dataset|
39
+ {
40
+ scenario_name: @rendered[sc.children[:name]],
41
+ name: @rendered[dataset.children[:name]],
42
+ uid: @rendered[dataset.children[:uid]],
43
+ arguments: @rendered[dataset.children[:arguments]]
44
+ }
45
+ },
38
46
  parameters: @rendered[sc.children[:parameters]],
39
47
  body: @rendered[sc.children[:body]]
40
48
  }
@@ -11,16 +11,18 @@ Test Setup{{tab}}Run Keywords{{tab}}{{join rendered_children.body "\n...
11
11
  {{/unless}}
12
12
  *** Test Cases ***{{#if datatables_present?}}
13
13
  {{#each rendered_children.splitted_scenarios}}
14
- {{#if this.datatable}}{{normalize_with_spaces this.name}}{{#indent}}
15
- [Template]{{tab}}{{normalize_with_spaces this.name}} keyword
16
- {{this.datatable}}{{/indent}}
14
+ {{#if this.datatable}}{{#each this.datasets}}{{normalize_with_spaces this.scenario_name}} {{normalize_with_spaces this.name}}{{#if this.uid}} (uid:{{normalize this.uid}}){{/if}}{{#indent}}
15
+ [Template]{{tab}}{{normalize_with_spaces this.scenario_name}} keyword
16
+ {{join this.arguments '\t'}}{{/indent}}
17
+
18
+ {{/each}}
17
19
  {{else}}{{normalize_with_spaces this.name}}{{#if this.uid}}(uid:{{normalize this.uid}}){{/if}}{{#indent}}
18
20
  {{join this.body '\n'}}{{/indent}}
19
21
  {{/if}}{{/each}}
20
22
  *** Keywords ***
21
23
 
22
24
  {{#each rendered_children.splitted_scenarios}}{{#if this.datatable}}{{normalize_with_spaces this.name}} keyword{{#indent}}
23
- [Arguments]{{tab}}${{#curly}}__test_name{{/curly}}{{tab}}{{join this.parameters '\t'}}
25
+ [Arguments]{{tab}}{{join this.parameters '\t'}}
24
26
  {{join this.body '\n'}}{{/indent}}
25
27
 
26
28
  {{/if}}{{/each}}{{else}}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hiptest-publisher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiptest R&D