hiptest-publisher 0.8.0 → 0.8.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: 2b5193a63f746ddb72f900a01da80c1de637a509
4
- data.tar.gz: d8ab11b68757655d3d1e75c8856a548ec3d16d57
3
+ metadata.gz: 618c29d0a42f60c642935ce57aef0435b3d9a467
4
+ data.tar.gz: aaaad289b1f9baab5bc19fbf68813feb7d93f970
5
5
  SHA512:
6
- metadata.gz: b2654e4cacaf2f522d6ebcb398cd29bfd13cec77af449813e2e251b25969b290c1a232e988d2824b2c490e479c2ac9de36305a9676e5f7cbcbdbdf89c36f0432
7
- data.tar.gz: f09e6c6711584c09ec95eab129f01662809cfcb324134d9c029d7928b976a66053ebd1f2f46844c04ec7fd9d3565fa4c9e93db389cfa94691f8b45023e753ff7
6
+ metadata.gz: d1ef56c5eabd8fdc6edcd0d277f4b20a9258a1b516553457174f955cfab8220781e793d3933cde7009609465d7cda6fb5bfe29095a7d461b83d3464af57eb85d
7
+ data.tar.gz: 15b5e8b4a2c7d0f8c59f93481bcc2effa3bbb6efd6b76fd759901ffb69035099eb6be224ea16a5a2c8803b96cc237c6c74b8e33c5d496d474794c96172817cdb
@@ -0,0 +1,11 @@
1
+ [_common]
2
+ template_dirs = javascript/mocha, javascript/jasmine, javascript, common
3
+
4
+ [tests]
5
+ filename = 'project_test.js'
6
+ scenario_filename = '%s_test.js'
7
+ call_prefix = 'actionwords'
8
+
9
+ [actionwords]
10
+ filename = 'actionwords.js'
11
+ naming_convention = 'camelize_lower'
@@ -122,7 +122,7 @@ class OptionsParser
122
122
  'Python' => ['Unittest'],
123
123
  'Robot Framework' => [''],
124
124
  'Selenium IDE' => [''],
125
- 'Javascript' => ['qUnit', 'Jasmine'],
125
+ 'Javascript' => ['qUnit', 'Jasmine', 'Mocha'],
126
126
  'CSharp' => ['NUnit'],
127
127
  'PHP' => ['PHPUnit'],
128
128
  'SpecFlow' => ['']
@@ -0,0 +1,4 @@
1
+ beforeEach(function () {{#curly}}{{#indent}}
2
+ this.actionwords = Object.create(require('./actionwords.js').Actionwords);
3
+ {{/indent}}
4
+ {{/curly}});
@@ -0,0 +1,4 @@
1
+ exports.Actionwords = {{#curly}}{{#indent}}{{#join rendered_children.actionwords ","}}
2
+ {{{this}}}{{/join}}
3
+ {{/indent}}
4
+ {{/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.8.0
4
+ version: 0.8.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: 2015-12-08 00:00:00.000000000 Z
11
+ date: 2015-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize
@@ -245,6 +245,7 @@ files:
245
245
  - lib/config/java-junit.conf
246
246
  - lib/config/java-testng.conf
247
247
  - lib/config/javascript-jasmine.conf
248
+ - lib/config/javascript-mocha.conf
248
249
  - lib/config/javascript-qunit.conf
249
250
  - lib/config/php-phpunit.conf
250
251
  - lib/config/python-unittest.conf
@@ -395,6 +396,8 @@ files:
395
396
  - lib/templates/javascript/jasmine/single_test.hbs
396
397
  - lib/templates/javascript/jasmine/tests.hbs
397
398
  - lib/templates/javascript/list.hbs
399
+ - lib/templates/javascript/mocha/_before_each.hbs
400
+ - lib/templates/javascript/mocha/actionwords.hbs
398
401
  - lib/templates/javascript/nullliteral.hbs
399
402
  - lib/templates/javascript/parameter.hbs
400
403
  - lib/templates/javascript/parenthesis.hbs