hiptest-publisher 0.10.0 → 0.10.1

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: e2557080821316b37b07952f6e188ba212447b9c
4
- data.tar.gz: 1370776bc7631858d96cfefc309189a9c2e9ea40
3
+ metadata.gz: 71cab2188401a9d68e914903e4e58e1ee1d44d15
4
+ data.tar.gz: bafecc9607c12b120cd676f7482fe503e16bdf85
5
5
  SHA512:
6
- metadata.gz: 0062913fceeb60b6589c6a2236425318a15ff0112215c9597cdaf4af966806115a854563864a1a5a42c1735749489fea19c23c3273ea36a75e975c2d69d817ed
7
- data.tar.gz: 84eacad9db2fb793c52fb7ca78cb217e4acb0523a9f9352bd04480de5815b3d0caf59504aeff5a08d7b8df1160a276ba3a36f86d674977cbb4460b793558c56f
6
+ metadata.gz: 6ca9134b9369cb5084f090e9c33cc115e0b2634ba8778cd5e5f5deefb51af514489d543620ee8b50e08ebff452df4640d9a717a6cfc52b67a4f65165780005f4
7
+ data.tar.gz: 6890f081c3607e9168a593d06ec4073391c0e9140c9259851559c3fb8c8d01ad37c57733a0ba7bb5263af21a93aa73cc1d0857f5dc0fda9f8cf714686c31fdd7
@@ -0,0 +1,21 @@
1
+ [_common]
2
+ indentation = ' '
3
+ fallback_template = 'empty'
4
+
5
+ [features]
6
+ node_name = folders
7
+ template_dirs = gherkin, common
8
+ named_filename = '%s.feature'
9
+ indentation = ' '
10
+
11
+ [step_definitions]
12
+ node_name = actionwords
13
+ template_dirs = cucumber/javascript, javascript, common
14
+ filename = 'step_definitions.js'
15
+ naming_convention = 'camelize_lower'
16
+ call_prefix = 'actionwords'
17
+
18
+ [actionwords]
19
+ template_dirs = javascript/es6, javascript, common
20
+ filename = 'actionwords.js'
21
+ naming_convention = 'camelize_lower'
@@ -1,5 +1,5 @@
1
1
  [_common]
2
- template_dirs = javascript/mocha, javascript/jasmine, javascript, common
2
+ template_dirs = javascript/mocha, javascript/es6, javascript/jasmine, javascript, common
3
3
 
4
4
  [tests]
5
5
  filename = 'project_test.js'
@@ -0,0 +1,8 @@
1
+ this.Around(function (scenario, runScenario) {{#curly}}{{#indent}}
2
+ this.actionwords = Object.create(require('{{{ relative_path './actionwords.js' }}}').Actionwords);
3
+ runScenario(null, function () {{#curly}}{{#indent}}
4
+ this.actionwords = null;
5
+ {{/indent}}
6
+ {{/curly}});
7
+ {{/indent}}
8
+ {{/curly}});
@@ -0,0 +1,6 @@
1
+ {{#if rendered_children.gherkin_annotation }}
2
+ this.{{{ rendered_children.gherkin_annotation }}}(/{{{rendered_children.gherkin_pattern }}}/, function ({{#if rendered_children.parameters}}{{{ join rendered_children.parameters ', '}}}, {{/if}}callback) {{#curly}}{{#indent}}
3
+ this.actionwords.{{{camelize_lower rendered_children.name}}}({{#if has_parameters?}}{{#join raw_parameter_names ', '}}{{{underscore this}}}{{/join}}{{/if}});
4
+ callback();
5
+ {{/indent}}
6
+ {{/curly}});{{/if}}
@@ -0,0 +1,6 @@
1
+ module.exports = function () {{#curly}}{{#indent}}
2
+ {{> around_hook}}
3
+
4
+ {{#each rendered_children.actionwords}}{{{this}}}
5
+ {{/each}}{{/indent}}
6
+ {{/curly}}
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.10.0
4
+ version: 0.10.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-02-24 00:00:00.000000000 Z
11
+ date: 2016-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize
@@ -243,6 +243,7 @@ files:
243
243
  - lib/config/behave.conf
244
244
  - lib/config/csharp-nunit.conf
245
245
  - lib/config/cucumber-java.conf
246
+ - lib/config/cucumber-javascript.conf
246
247
  - lib/config/cucumber-ruby.conf
247
248
  - lib/config/java-junit.conf
248
249
  - lib/config/java-testng.conf
@@ -328,6 +329,9 @@ files:
328
329
  - lib/templates/cucumber/java/actionword.hbs
329
330
  - lib/templates/cucumber/java/actionwords.hbs
330
331
  - lib/templates/cucumber/java/parameter.hbs
332
+ - lib/templates/cucumber/javascript/_around_hook.hbs
333
+ - lib/templates/cucumber/javascript/actionword.hbs
334
+ - lib/templates/cucumber/javascript/actionwords.hbs
331
335
  - lib/templates/cucumber/parameter.hbs
332
336
  - lib/templates/gherkin/argument.hbs
333
337
  - lib/templates/gherkin/call.hbs
@@ -395,6 +399,7 @@ files:
395
399
  - lib/templates/javascript/call.hbs
396
400
  - lib/templates/javascript/dataset.hbs
397
401
  - lib/templates/javascript/dict.hbs
402
+ - lib/templates/javascript/es6/actionwords.hbs
398
403
  - lib/templates/javascript/field.hbs
399
404
  - lib/templates/javascript/folder.hbs
400
405
  - lib/templates/javascript/ifthen.hbs
@@ -409,7 +414,6 @@ files:
409
414
  - lib/templates/javascript/jasmine/tests.hbs
410
415
  - lib/templates/javascript/list.hbs
411
416
  - lib/templates/javascript/mocha/_before_each.hbs
412
- - lib/templates/javascript/mocha/actionwords.hbs
413
417
  - lib/templates/javascript/nullliteral.hbs
414
418
  - lib/templates/javascript/parameter.hbs
415
419
  - lib/templates/javascript/parenthesis.hbs