hiptest-publisher 0.15.4 → 0.15.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hiptest-publisher.rb +11 -9
- 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: ca059fdbded73c2be70c3565312b70df96b77c0e
|
4
|
+
data.tar.gz: dbfcb3fdbb572b7435f073659a43d002c878b816
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cd90f48b281b8f8c153d8a19c5b30d74b9b951a3d409221e7850d90c4fdce599c4c9e5b380f695aa60fa430823af1dd390b7002ddfbb52ccc65c1c13bb07c7c
|
7
|
+
data.tar.gz: 45c716b383c3004cf78a8c50e5d5c211e6f012f9f492811025d781736ddb8d0e999d2606e5ed0efbb848a235ddf194ebeed46c2cd68c5eb5aff0c31df0bec174
|
data/lib/hiptest-publisher.rb
CHANGED
@@ -142,6 +142,8 @@ module Hiptest
|
|
142
142
|
end
|
143
143
|
|
144
144
|
def export_actionword_signature
|
145
|
+
analyze_project_data
|
146
|
+
|
145
147
|
write_to_file(
|
146
148
|
"#{@cli_options.output_directory}/actionwords_signature.yaml",
|
147
149
|
"Exporting actionword signature"
|
@@ -154,12 +156,7 @@ module Hiptest
|
|
154
156
|
old = YAML.load_file("#{@cli_options.output_directory}/actionwords_signature.yaml")
|
155
157
|
end
|
156
158
|
|
157
|
-
|
158
|
-
Hiptest::Nodes::DatatableFixer.add(@project)
|
159
|
-
Hiptest::Nodes::ParentAdder.add(@project)
|
160
|
-
Hiptest::Nodes::ParameterTypeAdder.add(@project)
|
161
|
-
Hiptest::DefaultArgumentAdder.add(@project)
|
162
|
-
Hiptest::GherkinAdder.add(@project)
|
159
|
+
analyze_project_data
|
163
160
|
|
164
161
|
current = Hiptest::SignatureExporter.export_actionwords(@project, true)
|
165
162
|
diff = Hiptest::SignatureDiffer.diff( old, current)
|
@@ -250,9 +247,8 @@ module Hiptest
|
|
250
247
|
return
|
251
248
|
end
|
252
249
|
|
253
|
-
def
|
254
|
-
return if @
|
255
|
-
|
250
|
+
def analyze_project_data
|
251
|
+
return if @project_data_analyzed
|
256
252
|
reporter.with_status_message "Analyzing data" do
|
257
253
|
@language_config = LanguageConfigParser.new(@cli_options)
|
258
254
|
Hiptest::Nodes::DatatableFixer.add(@project)
|
@@ -262,7 +258,13 @@ module Hiptest
|
|
262
258
|
Hiptest::GherkinAdder.add(@project)
|
263
259
|
Hiptest::ItemsOrderer.add(@project, @cli_options.sort)
|
264
260
|
end
|
261
|
+
@project_data_analyzed = true
|
262
|
+
end
|
263
|
+
|
264
|
+
def export
|
265
|
+
return if @project.nil?
|
265
266
|
|
267
|
+
analyze_project_data
|
266
268
|
export_files
|
267
269
|
export_actionword_signature if @language_config.include_group?("actionwords")
|
268
270
|
end
|
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.15.
|
4
|
+
version: 0.15.5
|
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-
|
11
|
+
date: 2016-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|
@@ -604,7 +604,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
604
604
|
version: '0'
|
605
605
|
requirements: []
|
606
606
|
rubyforge_project:
|
607
|
-
rubygems_version: 2.4
|
607
|
+
rubygems_version: 2.6.4
|
608
608
|
signing_key:
|
609
609
|
specification_version: 4
|
610
610
|
summary: Export your tests from Hiptest into executable tests.
|