test-unit 2.3.1 → 2.3.2
Sign up to get free protection for your applications and to get access to all the features.
data/README.textile
CHANGED
data/lib/test/unit/priority.rb
CHANGED
@@ -18,7 +18,7 @@ module Test
|
|
18
18
|
opts.on('-v', '--verbose=[LEVEL]', output_levels,
|
19
19
|
"Set the output level (default is verbose).",
|
20
20
|
"(#{auto_runner.keyword_display(output_levels)})") do |level|
|
21
|
-
level ||= output_levels.assoc(
|
21
|
+
level ||= output_levels.assoc("verbose")[1]
|
22
22
|
auto_runner.runner_options[:output_level] = level
|
23
23
|
end
|
24
24
|
|
@@ -146,9 +146,13 @@ module Test
|
|
146
146
|
end
|
147
147
|
|
148
148
|
def categorize_faults
|
149
|
-
|
150
|
-
|
149
|
+
faults = {}
|
150
|
+
@faults.each do |fault|
|
151
|
+
category = categorize_fault(fault)
|
152
|
+
faults[category] ||= []
|
153
|
+
faults[category] << fault
|
151
154
|
end
|
155
|
+
faults
|
152
156
|
end
|
153
157
|
|
154
158
|
def categorize_fault(fault)
|
@@ -355,7 +359,10 @@ module Test
|
|
355
359
|
def output_progress_in_detail(fault)
|
356
360
|
return if @output_level == SILENT
|
357
361
|
return unless categorize_fault(fault) == :need_detail_faults
|
362
|
+
nl
|
363
|
+
nl
|
358
364
|
output_fault(fault)
|
365
|
+
nl
|
359
366
|
end
|
360
367
|
|
361
368
|
def output?(level)
|
data/lib/test/unit/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: test-unit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 2.3.
|
9
|
+
- 2
|
10
|
+
version: 2.3.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Kouhei Sutou
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-08-
|
19
|
+
date: 2011-08-15 00:00:00 Z
|
20
20
|
dependencies: []
|
21
21
|
|
22
22
|
description: |
|