hiptest-publisher 1.1.0 → 1.1.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: 0dd96ca916a6a6a1ffaf84dc10e4bb922302997c
4
- data.tar.gz: f794c24f62cf44521dacde5bc3f166aa12a0ca8c
3
+ metadata.gz: b9ab06cce90c83766622560451c90a7709d5cd83
4
+ data.tar.gz: 1997974575bf3beaf2170ed9dde8e6dba8a2ded8
5
5
  SHA512:
6
- metadata.gz: 1a0ab6b3cc0d7e7ee5d8bf213ba715a628ff1989ec73bfa608c4c322acd5a77b9fe9592575ea5562632a3ccf0eff39c57e80eb89a481dbe7059205f080fa653f
7
- data.tar.gz: 1842dc3d968c8ee5481ea8b1d4a25c4b22a4b711c58e411b5fb8b7ef353309264042b67023dc6a378e97b78028c3d456b7d6430adf7c1a89b099cc3b36d7f875
6
+ metadata.gz: 8202953697e094f512c3b236bc1d2bc2e367d9b2b7fed20589d80bebd5aeb9239f6985ad71151d945534be3970f8d0a12e304138cf4fd5df91d9b2a60d0da919
7
+ data.tar.gz: 907bab8c38af0a1fb3a1f9737c7bdcaeafa919ff8aa7e29c3d91950e018d5fc6f97d88206aeeb3dbd8ed2f6435e63da26fd2ee7bed019a284512908fb6bbf8b4
@@ -1,22 +1,17 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- # Use the following command to run hiptest-publisher and test your changes:
3
+ # Don't try to run this binary directly. Instead:
4
4
  #
5
- # bundle exec ruby -I lib bin/hiptest-publisher
5
+ # * `hiptest-publisher` if installed through rubygems, relying on the rubygem
6
+ # wrapper
6
7
  #
7
- # You can define an alias for this command and run it as if you were running
8
- # the gem.
8
+ # * `bundle exec ruby -I lib bin/hiptest-publisher` if doing hiptest-publisher
9
+ # development. You can define an alias for this command and run it as if
10
+ # you were running the gem natively.
9
11
  #
10
- # alias hiptest-publisher='bundle exec ruby -I lib bin/hiptest-publisher'
11
- # hiptest-publisher -v --token=1234567890
12
+ # alias hiptest-publisher='bundle exec ruby -I lib bin/hiptest-publisher'
12
13
  #
13
14
 
14
- begin
15
- require 'rubygems'
16
- gem 'hiptest-publisher'
17
- rescue LoadError
18
- end
19
-
20
15
  require 'ruby_version'
21
16
 
22
17
  # Ensure ruby version >= 2
@@ -1,5 +1,5 @@
1
1
  {{#if has_datasets?}}
2
- Test Template {{{ normalize_with_spaces rendered_children.name }}}
2
+ Test Template{{tab}}{{{ normalize_with_spaces rendered_children.name }}}
3
3
 
4
4
  *** Test Cases ***{{#each node.children.parameters}}{{{ tab }}}{{{ this.children.name}}}{{/each}}
5
5
  {{{ rendered_children.datatable }}}
@@ -3,9 +3,9 @@ Documentation
3
3
  {{#comment '... '}}{{#clear_empty_lines}}
4
4
  {{{ rendered_children.description}}}
5
5
  {{/clear_empty_lines}}{{/comment}}{{#if has_tags?}}
6
- Default Tags {{{ join rendered_children.tags ' '}}}
6
+ Default Tags{{tab}}{{{ join rendered_children.tags ' '}}}
7
7
  {{/if}}
8
- Resource keywords.txt
8
+ Resource{{tab}}keywords.txt
9
9
  {{#unless is_empty?}}
10
10
  Test Setup{{tab}}Run Keywords{{tab}}{{join rendered_children.body "\n... AND \t"}}
11
11
  {{/unless}}
@@ -1,5 +1,5 @@
1
1
  *** Settings ***
2
- Resource keywords.txt
2
+ Resource{{tab}}keywords.txt
3
3
 
4
4
  *** Test Cases ***{{#if datatables_present?}}
5
5
  {{#each rendered_children.splitted_scenarios}}
@@ -7,14 +7,14 @@ Resource keywords.txt
7
7
  [Template]{{tab}}{{this.name}} keyword
8
8
  {{this.datatable}}{{/indent}}
9
9
  {{else}}{{normalize_with_spaces this.name}}{{#if this.uid}} (uid:{{normalize this.uid}}){{/if}}{{#indent}}{{#if this.tags}}
10
- [Tags] {{{ join this.tags ' '}}}
10
+ [Tags]{{tab}}{{{ join this.tags ' '}}}
11
11
  {{/if}}{{join this.body '\n'}}{{/indent}}
12
12
  {{/if}}{{/each}}
13
13
  *** Keywords ***
14
14
 
15
15
  {{#each rendered_children.splitted_scenarios}}{{#if this.datatable}}{{normalize_with_spaces this.name}} keyword{{#indent}}
16
16
  [Arguments]{{tab}}${{#curly}}__test_name{{/curly}}{{tab}}{{join this.parameters '\t'}}
17
- {{#if this.tags}}[Tags] {{{ join this.tags ' '}}}
17
+ {{#if this.tags}}[Tags]{{tab}}{{{ join this.tags ' '}}}
18
18
  {{/if}}{{join this.body '\n'}}{{/indent}}
19
19
 
20
20
  {{/if}}{{/each}}{{else}}
@@ -3,8 +3,8 @@ Documentation
3
3
  {{#comment '... '}}{{#clear_empty_lines}}
4
4
  {{{ rendered_children.description}}}
5
5
  {{/clear_empty_lines}}{{/comment}}{{#if has_tags?}}
6
- Default Tags {{{ join rendered_children.tags ' '}}}{{/if}}
6
+ Default Tags{{tab}}{{{ join rendered_children.tags ' '}}}{{/if}}
7
7
 
8
- Resource keywords.txt
8
+ Resource{{tab}}keywords.txt
9
9
 
10
10
  {{> scenario}}
@@ -3,8 +3,8 @@ Documentation
3
3
  {{#comment '... '}}{{#clear_empty_lines}}
4
4
  {{{ rendered_children.description}}}
5
5
  {{/clear_empty_lines}}{{/comment}}{{#if has_tags?}}
6
- Default Tags {{{ join rendered_children.tags ' '}}}{{/if}}
6
+ Default Tags{{tab}}{{{ join rendered_children.tags ' '}}}{{/if}}
7
7
 
8
- Resource keywords.txt
8
+ Resource{{tab}}keywords.txt
9
9
 
10
10
  {{> scenario}}
@@ -1,5 +1,5 @@
1
1
  *** Settings ***
2
- Resource keywords.txt
2
+ Resource{{tab}}keywords.txt
3
3
 
4
4
  *** Test Cases ***
5
5
  {{#each rendered_children.tests}}
@@ -5,9 +5,8 @@ require_relative '{{{ relative_path 'actionwords' }}}'
5
5
  describe '{{{ escape_single_quotes self_name }}}' do{{#indent}}
6
6
  include Actionwords
7
7
 
8
- {{#unless is_empty?}}before(:each) do{{#indent}}
8
+ {{#unless is_empty?}}before(:each) do
9
9
  {{> body}}
10
- {{/indent}}
11
10
  end
12
11
 
13
12
  {{/unless}}{{#each rendered_children.scenarios}}{{{this}}}
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.1.0
4
+ version: 1.1.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: 2017-04-04 00:00:00.000000000 Z
11
+ date: 2017-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize
@@ -596,7 +596,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
596
596
  version: '0'
597
597
  requirements: []
598
598
  rubyforge_project:
599
- rubygems_version: 2.5.1
599
+ rubygems_version: 2.6.10
600
600
  signing_key:
601
601
  specification_version: 4
602
602
  summary: Export your tests from Hiptest into executable tests.