elasticsearch-test-runner 0.18.0 → 0.18.2
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/CHANGELOG.md +9 -0
- data/lib/elasticsearch/tests/test_runner.rb +7 -6
- data/lib/elasticsearch/tests/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7b2a29eb379b8bc1f6d31d93add7befd179122d2dc08d19312b7cda9ebc36d95
|
|
4
|
+
data.tar.gz: 47989e967e79cc64a901d8d2e3a8e2b206134c20b48c532040cc6f79cd4586fb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 55eb04dafbb6347cce1f1125fd90e35d2fed0db9549152f39a0e6b608160822aa6ea4c69ac41ed5e49f3e9a7dd9addd38c8a998409f6fc72ac2193046ad4b0ef
|
|
7
|
+
data.tar.gz: c1c83a61546a0fcb49127b5bc5a98af5196a21ce61481445632f22b880525b46445fd4d0796fec54d125a03929d7f86e5f7e078b22dfb2bd8764d1cc54f1b4d0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.18.2] - 2026-03-06
|
|
4
|
+
|
|
5
|
+
- Fixes skipping multiple tests.
|
|
6
|
+
- Fixes running tests in a directory.
|
|
7
|
+
|
|
8
|
+
## [0.18.1] - 2026-03-06
|
|
9
|
+
|
|
10
|
+
- Fixes skipping tests.
|
|
11
|
+
|
|
3
12
|
## [0.18.0] - 2026-03-05
|
|
4
13
|
|
|
5
14
|
- Lots of improvements when displaying errors. Fixes missing exceptions during particular failures. The display for errors and failures is now more detailed and comfortable to read.
|
|
@@ -40,7 +40,7 @@ module Elasticsearch
|
|
|
40
40
|
if tests.is_a? String
|
|
41
41
|
@tests_to_skip << tests
|
|
42
42
|
else
|
|
43
|
-
@tests_to_skip
|
|
43
|
+
@tests_to_skip += tests
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
@@ -99,14 +99,15 @@ module Elasticsearch
|
|
|
99
99
|
elsif test_files.include?('yml')
|
|
100
100
|
return ["#{@path}/tests/#{test_files}"]
|
|
101
101
|
else
|
|
102
|
-
"#{@path}/#{test_files}/*.yml"
|
|
102
|
+
"#{@path}/tests/#{test_files}/*.yml"
|
|
103
103
|
end
|
|
104
104
|
tests = Dir.glob(tests_path)
|
|
105
|
-
tests
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
end
|
|
105
|
+
# Find the full paths of tests to be skipped and delete them from the tests to run:
|
|
106
|
+
full_paths = @tests_to_skip.map do |skip|
|
|
107
|
+
tests.find { |t| t.match?(skip) }
|
|
109
108
|
end
|
|
109
|
+
full_paths.each { |a| tests.delete(a) }
|
|
110
|
+
|
|
110
111
|
tests
|
|
111
112
|
end
|
|
112
113
|
|