hiptest-publisher-fork 3.5.0 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/hiptest-publisher/file_writer.rb +1 -1
- data/lib/hiptest-publisher/options_parser.rb +1 -1
- data/lib/hiptest-publisher/utils.rb +1 -1
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61ae3a08084ba4f3b087b42ef0bc41fc0f7cce95df7259c5464e738208156311
|
4
|
+
data.tar.gz: 55922e4181feed4e3bba118cf38497473359bac97838942508e7fae77b63f7bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef8f3a2ffcf453cd50cb61eb930e696eaee25686dded43beddcec49d1ff13d31484e2e39266a762dd55c97dec638acb401e739573adc4ed0e400315369bac5da
|
7
|
+
data.tar.gz: 8fd28a3873a908bf851766a1e0491f84b0735696e3542df782abacd5ceb9f1ffc716f789939e76bc46c5c4f3699cdac726e8b4784a52de256e89a79b3f1035e4
|
data/README.md
CHANGED
@@ -45,7 +45,7 @@ Note: for Windows users, take a look at [this Windows installation guide](docs/I
|
|
45
45
|
Exporting a project
|
46
46
|
-------------------
|
47
47
|
|
48
|
-
Go to [CucumberStudio projects list](https://studio.
|
48
|
+
Go to [CucumberStudio projects list](https://studio.cucumberstudio.com/projects), pick one project, and select the Settings tab.
|
49
49
|
This tab is available only for projects you're admin of.
|
50
50
|
From there, copy the secret token and run this command line:
|
51
51
|
|
@@ -83,7 +83,7 @@ When publishing, you'll notice a file called ``actionwords_signature.yaml``. Sto
|
|
83
83
|
Exporting a test run
|
84
84
|
--------------------
|
85
85
|
|
86
|
-
You can generate the test suite from a test run of your project by specifying option `--test-run-id=<xxx>` when calling `hiptest-publisher`. You can find the test run id in the address bar of your browser. If your browser address is `https://studio.
|
86
|
+
You can generate the test suite from a test run of your project by specifying option `--test-run-id=<xxx>` when calling `hiptest-publisher`. You can find the test run id in the address bar of your browser. If your browser address is `https://studio.cucumberstudio.com/projects/1234/testRuns/6941`, then your test run id is `6941`. You can generate your tests from your test with this command line:
|
87
87
|
|
88
88
|
```shell
|
89
89
|
hiptest-publisher --token=<YOUR TOKEN> --test-run-id=6941
|
@@ -136,7 +136,7 @@ Specific options:
|
|
136
136
|
--empty-folders Export empty folders (default: false)
|
137
137
|
--split-scenarios Export each scenario in a single file (except for Gherkin based languages) (default: false)
|
138
138
|
--leafless-export Use only last level action word (default: false)
|
139
|
-
-s, --site=SITE Site to fetch from (default: https://studio.
|
139
|
+
-s, --site=SITE Site to fetch from (default: https://studio.cucumberstudio.com)
|
140
140
|
-p, --push=FILE.TAP Push a results file to the server
|
141
141
|
--global-failure-on-missing-reports
|
142
142
|
When there is no results file to push, report a global failure (default: false)
|
@@ -252,7 +252,7 @@ class OptionsParser
|
|
252
252
|
Option.new(nil, 'empty-folders', false, nil, I18n.t('options.empty_folders'), :empty_folders),
|
253
253
|
Option.new(nil, 'split-scenarios', false, nil, I18n.t('options.split_scenarios'), :split_scenarios),
|
254
254
|
Option.new(nil, 'leafless-export', false, nil, I18n.t('options.leafless_export'), :leafless_export),
|
255
|
-
Option.new('s', 'site=SITE', 'https://studio.
|
255
|
+
Option.new('s', 'site=SITE', 'https://studio.cucumberstudio.com', String, I18n.t('options.site'), :site),
|
256
256
|
Option.new(nil, 'http-proxy=PROXY_URL', nil, String, I18n.t('options.http_proxy'), :http_proxy),
|
257
257
|
Option.new('p', 'push=FILE.TAP', '', String, I18n.t('options.push'), :push),
|
258
258
|
Option.new(nil, 'global-failure-on-missing-reports', false, nil, I18n.t('options.global_failure_on_missing_reports'), :global_failure_on_missing_reports),
|
@@ -14,7 +14,7 @@ end
|
|
14
14
|
def hiptest_publisher_version
|
15
15
|
Gem.loaded_specs['hiptest-publisher'].version.to_s
|
16
16
|
rescue
|
17
|
-
File.read("#{hiptest_publisher_path}/VERSION").strip if File.
|
17
|
+
File.read("#{hiptest_publisher_path}/VERSION").strip if File.exists?("#{hiptest_publisher_path}/VERSION")
|
18
18
|
end
|
19
19
|
|
20
20
|
def pluralize_word(count, singular, plural=nil)
|
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hiptest-publisher-fork
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CucumberStudio R&D
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2022-05-18 00:00:00.000000000 Z
|
@@ -54,22 +54,22 @@ dependencies:
|
|
54
54
|
name: i18n
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- - "~>"
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: '0.7'
|
60
57
|
- - ">="
|
61
58
|
- !ruby/object:Gem::Version
|
62
59
|
version: 0.7.0
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0.7'
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - "~>"
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '0.7'
|
70
67
|
- - ">="
|
71
68
|
- !ruby/object:Gem::Version
|
72
69
|
version: 0.7.0
|
70
|
+
- - "~>"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '0.7'
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: nokogiri
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
@@ -252,7 +252,7 @@ dependencies:
|
|
252
252
|
version: '3.3'
|
253
253
|
description: Provides a command-line tool that generates Java, Python or Ruby code
|
254
254
|
to run the tests.
|
255
|
-
email: studio@
|
255
|
+
email: studio@cucumberstudio.com
|
256
256
|
executables:
|
257
257
|
- hiptest-publisher
|
258
258
|
extensions: []
|
@@ -761,7 +761,7 @@ homepage: https://cucumber.io
|
|
761
761
|
licenses:
|
762
762
|
- MIT
|
763
763
|
metadata: {}
|
764
|
-
post_install_message:
|
764
|
+
post_install_message:
|
765
765
|
rdoc_options: []
|
766
766
|
require_paths:
|
767
767
|
- lib
|
@@ -776,8 +776,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
776
776
|
- !ruby/object:Gem::Version
|
777
777
|
version: '0'
|
778
778
|
requirements: []
|
779
|
-
rubygems_version: 3.3.
|
780
|
-
signing_key:
|
779
|
+
rubygems_version: 3.0.3.1
|
780
|
+
signing_key:
|
781
781
|
specification_version: 4
|
782
782
|
summary: Export your tests from CucumberStudio into executable tests.
|
783
783
|
test_files: []
|