test-unit 3.7.6 → 3.7.7
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/doc/text/news.md +13 -0
- data/lib/test/unit/ui/testrunnermediator.rb +14 -7
- data/lib/test/unit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b572c12dc1bc9e9f67fc3133119bf68d002b10ce4f1f95f3f1ae31692310b25b
|
|
4
|
+
data.tar.gz: 9214a8be8e339df1bdb25b36d942e540a1162fce236f411fa5aad78c2863e611
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 456e5b575506aed802935aa07f28e7d0d074e9eacc1d9bec4c2d86ccc8ccb31d75548f517bb14a734fabf59898b9c47bead70e7e58d6c1d1d66ff261b1614ecf
|
|
7
|
+
data.tar.gz: 5f8087a13d955bbc4281d9bbb818a242df6fe3329f825b7173e4e5a769af4e8edf1adfba53b497fb7684ce8026af53724f28caf090e0a4306374dbb9a4cac9ea
|
data/doc/text/news.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# News
|
|
2
2
|
|
|
3
|
+
## 3.7.7 - 2026-01-01 {#version-3-7-7}
|
|
4
|
+
|
|
5
|
+
### Fixes
|
|
6
|
+
|
|
7
|
+
* Fixed a bug that `NoMemoryError` occurred with RBS tests + MSVC Ruby.
|
|
8
|
+
* GH-358
|
|
9
|
+
* GH-363
|
|
10
|
+
* Reported by Nobuyoshi Nakada
|
|
11
|
+
|
|
12
|
+
### Thanks
|
|
13
|
+
|
|
14
|
+
* Nobuyoshi Nakada
|
|
15
|
+
|
|
3
16
|
## 3.7.6 - 2025-12-25 {#version-3-7-6}
|
|
4
17
|
|
|
5
18
|
### Fixes
|
|
@@ -36,17 +36,22 @@ module Test
|
|
|
36
36
|
AutoRunner.need_auto_run = false
|
|
37
37
|
|
|
38
38
|
result = create_result
|
|
39
|
+
options = @options.dup
|
|
40
|
+
# We should not keep @suite in @options because @options may
|
|
41
|
+
# be live longer than this instance. For example,
|
|
42
|
+
# AutoRunner's @runner_options is @options in this instance
|
|
43
|
+
# and AutoRunner is live longer than this instance. We can
|
|
44
|
+
# dup @options to avoid @suite's life time longer.
|
|
45
|
+
options[:test_suite] = @suite
|
|
46
|
+
options[:event_listener] = lambda do |channel, value|
|
|
47
|
+
notify_listeners(channel, value)
|
|
48
|
+
end
|
|
39
49
|
|
|
40
50
|
Test::Unit.run_at_start_hooks
|
|
41
51
|
start_time = Time.now
|
|
42
52
|
begin
|
|
43
53
|
with_listener(result) do
|
|
44
|
-
|
|
45
|
-
notify_listeners(channel, value)
|
|
46
|
-
end
|
|
47
|
-
@options[:event_listener] = event_listener
|
|
48
|
-
@options[:test_suite] = @suite
|
|
49
|
-
@test_suite_runner_class.run_all_tests(result, @options) do |run_context|
|
|
54
|
+
@test_suite_runner_class.run_all_tests(result, options) do |run_context|
|
|
50
55
|
catch do |stop_tag|
|
|
51
56
|
result.stop_tag = stop_tag
|
|
52
57
|
notify_listeners(RESET, @suite.size)
|
|
@@ -76,7 +81,9 @@ module Test
|
|
|
76
81
|
run
|
|
77
82
|
else
|
|
78
83
|
worker_context = WorkerContext.new(nil, run_context, result)
|
|
79
|
-
@suite.run(worker_context,
|
|
84
|
+
@suite.run(worker_context) do |channel, value|
|
|
85
|
+
notify_listeners(channel, value)
|
|
86
|
+
end
|
|
80
87
|
end
|
|
81
88
|
end
|
|
82
89
|
|
data/lib/test/unit/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: test-unit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.7.
|
|
4
|
+
version: 3.7.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kouhei Sutou
|
|
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
135
135
|
- !ruby/object:Gem::Version
|
|
136
136
|
version: '0'
|
|
137
137
|
requirements: []
|
|
138
|
-
rubygems_version:
|
|
138
|
+
rubygems_version: 4.0.3
|
|
139
139
|
specification_version: 4
|
|
140
140
|
summary: An xUnit family unit testing framework for Ruby.
|
|
141
141
|
test_files: []
|