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 +4 -4
- data/bin/hiptest-publisher +7 -12
- data/lib/templates/robotframework/_scenario.hbs +1 -1
- data/lib/templates/robotframework/folder.hbs +2 -2
- data/lib/templates/robotframework/scenarios.hbs +3 -3
- data/lib/templates/robotframework/single_scenario.hbs +2 -2
- data/lib/templates/robotframework/single_test.hbs +2 -2
- data/lib/templates/robotframework/tests.hbs +1 -1
- data/lib/templates/ruby/folder.hbs +1 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9ab06cce90c83766622560451c90a7709d5cd83
|
4
|
+
data.tar.gz: 1997974575bf3beaf2170ed9dde8e6dba8a2ded8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8202953697e094f512c3b236bc1d2bc2e367d9b2b7fed20589d80bebd5aeb9239f6985ad71151d945534be3970f8d0a12e304138cf4fd5df91d9b2a60d0da919
|
7
|
+
data.tar.gz: 907bab8c38af0a1fb3a1f9737c7bdcaeafa919ff8aa7e29c3d91950e018d5fc6f97d88206aeeb3dbd8ed2f6435e63da26fd2ee7bed019a284512908fb6bbf8b4
|
data/bin/hiptest-publisher
CHANGED
@@ -1,22 +1,17 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
#
|
3
|
+
# Don't try to run this binary directly. Instead:
|
4
4
|
#
|
5
|
-
#
|
5
|
+
# * `hiptest-publisher` if installed through rubygems, relying on the rubygem
|
6
|
+
# wrapper
|
6
7
|
#
|
7
|
-
#
|
8
|
-
#
|
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
|
-
#
|
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
|
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
|
6
|
+
Default Tags{{tab}}{{{ join rendered_children.tags ' '}}}
|
7
7
|
{{/if}}
|
8
|
-
Resource
|
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
|
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]
|
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]
|
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
|
6
|
+
Default Tags{{tab}}{{{ join rendered_children.tags ' '}}}{{/if}}
|
7
7
|
|
8
|
-
Resource
|
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
|
6
|
+
Default Tags{{tab}}{{{ join rendered_children.tags ' '}}}{{/if}}
|
7
7
|
|
8
|
-
Resource
|
8
|
+
Resource{{tab}}keywords.txt
|
9
9
|
|
10
10
|
{{> scenario}}
|
@@ -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
|
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.
|
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-
|
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.
|
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.
|