test_benchmark 0.4.6 → 0.4.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.
- data/lib/test_benchmark.rb +3 -2
- metadata +5 -4
data/lib/test_benchmark.rb
CHANGED
@@ -41,7 +41,8 @@ class Test::Unit::UI::Console::TestRunner
|
|
41
41
|
finished_old(elapsed_time)
|
42
42
|
output_benchmarks
|
43
43
|
output_benchmarks(:suite)
|
44
|
-
|
44
|
+
nl
|
45
|
+
exit!(1) unless @faults.empty?
|
45
46
|
end
|
46
47
|
|
47
48
|
alias test_started_old test_started
|
@@ -107,6 +108,6 @@ private
|
|
107
108
|
def output_benchmarks(suite_name=nil)
|
108
109
|
benchmarks = prep_benchmarks(suite_name)
|
109
110
|
return if benchmarks.nil? || benchmarks.empty?
|
110
|
-
|
111
|
+
output(header(suite_name) + benchmarks.join("\n") + "\n")
|
111
112
|
end
|
112
113
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: test_benchmark
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Connor
|
@@ -9,11 +9,12 @@ authors:
|
|
9
9
|
- Mike Gunderloy
|
10
10
|
- Luke Francl
|
11
11
|
- Marek de Heus
|
12
|
+
- Vijay Aravamudhan
|
12
13
|
autorequire:
|
13
14
|
bindir: bin
|
14
15
|
cert_chain: []
|
15
16
|
|
16
|
-
date: 2009-
|
17
|
+
date: 2009-11-14 00:00:00 -08:00
|
17
18
|
default_executable:
|
18
19
|
dependencies: []
|
19
20
|
|
@@ -27,7 +28,7 @@ extra_rdoc_files: []
|
|
27
28
|
|
28
29
|
files:
|
29
30
|
- lib/test_benchmark.rb
|
30
|
-
has_rdoc:
|
31
|
+
has_rdoc: true
|
31
32
|
homepage: http://github.com/timocratic/test_benchmark
|
32
33
|
licenses: []
|
33
34
|
|
@@ -51,7 +52,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
51
52
|
requirements: []
|
52
53
|
|
53
54
|
rubyforge_project:
|
54
|
-
rubygems_version: 1.3.
|
55
|
+
rubygems_version: 1.3.5
|
55
56
|
signing_key:
|
56
57
|
specification_version: 3
|
57
58
|
summary: "Rails plugin (and/or ruby gem) for benchmarking your test::units: a rework of the original by topfunky"
|