grntest 1.5.4 → 1.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +6 -0
- data/lib/grntest/test-runner.rb +8 -0
- data/lib/grntest/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8a09deb6171d6819a7874a580276f5b972859e5d57e5d746759bfbeb54b501b
|
4
|
+
data.tar.gz: 60da288a453817a64a157f3ed82d84745dae567e5a3cea418d2a6d46d930313a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 748cca0d65ac9073708bd5d9c483f8d14e0f592f9ce3e6ef82874af58597e3703e7ee3b328caf2824eea916151cf8b09785a1583d6203ff3bf5f99f7b915dcd5
|
7
|
+
data.tar.gz: debc154f725645857bf626b5b4fb088e8483171473ba0a921bbd3eb458a21fa38a778613c7ca89d5b4634d353329a76893a2cd394ac99b55bbaa0f97575e4efb
|
data/doc/text/news.md
CHANGED
data/lib/grntest/test-runner.rb
CHANGED
@@ -735,6 +735,10 @@ http {
|
|
735
735
|
normalized_values = {}
|
736
736
|
message = error["message"]
|
737
737
|
normalized_values["message"] = normalize_error_message(message)
|
738
|
+
function = error["function"]
|
739
|
+
if function
|
740
|
+
normalized_values["function"] = normalize_error_function(function)
|
741
|
+
end
|
738
742
|
file = error["file"]
|
739
743
|
if file
|
740
744
|
normalized_values["file"] = normalize_error_file_path(file)
|
@@ -823,6 +827,10 @@ http {
|
|
823
827
|
end
|
824
828
|
end
|
825
829
|
|
830
|
+
def normalize_error_function(function)
|
831
|
+
function.split("::").last
|
832
|
+
end
|
833
|
+
|
826
834
|
def normalize_error_file_path(path)
|
827
835
|
File.basename(path)
|
828
836
|
end
|
data/lib/grntest/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grntest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-01-
|
12
|
+
date: 2022-01-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: diff-lcs
|
@@ -270,12 +270,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
270
270
|
- !ruby/object:Gem::Version
|
271
271
|
version: '0'
|
272
272
|
requirements: []
|
273
|
-
rubygems_version: 3.
|
273
|
+
rubygems_version: 3.4.0.dev
|
274
274
|
signing_key:
|
275
275
|
specification_version: 4
|
276
276
|
summary: Grntest is a testing framework for Groonga. You can write a test for Groonga
|
277
277
|
by writing Groonga commands and expected result.
|
278
278
|
test_files:
|
279
|
-
- test/run-test.rb
|
280
|
-
- test/executors/test-standard-io-executor.rb
|
281
279
|
- test/executors/test-base-executor.rb
|
280
|
+
- test/executors/test-standard-io-executor.rb
|
281
|
+
- test/run-test.rb
|