minitest-reporters 0.14.17 → 0.14.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/lib/minitest/reporter_runner.rb +17 -5
- data/lib/minitest/reporters/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eff75b6c56925072bcc302c8e6016ea131ecec2f
|
4
|
+
data.tar.gz: 222a3c67c8f8efa3b9e9337e5c62c5469b12e48c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40f5b0d8a3866fa095e014c1a10e0bf8a176ee3e3adede9de7c8e69223727bd242bce80e5b3b7c93fa02a98f66a037051f4f1dcafcf0efc2c5c5f6fe956f1765
|
7
|
+
data.tar.gz: 39875dfa891031005cf3c7003d3560715da3c2fcfaf0b7f47fdc262c559ac33252c74419a8bf1f2eecaeef206b491a2f8a20955de4e6d3a43d1d47307d16d8fb
|
data/README.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
Death to haphazard monkey-patching! Extend MiniTest through simple hooks.
|
4
4
|
|
5
|
+
## Looking for a new maintainer! ##
|
6
|
+
|
7
|
+
I no longer use `minitest-reporters`, and would like to pass on the project to someone else who will be able to dedicate more time to it. Contact me via [email](alex@kernul.com) or [Twitter](https://twitter.com/CapnKernul) if you're interested in maintaining this project.
|
8
|
+
|
5
9
|
## Installation ##
|
6
10
|
|
7
11
|
gem install minitest-reporters
|
@@ -22,11 +22,15 @@ module MiniTest
|
|
22
22
|
self.reporters = []
|
23
23
|
@test_results = {}
|
24
24
|
@test_recorder = TestRecorder.new
|
25
|
+
@allow_default_output = true
|
25
26
|
end
|
26
27
|
|
27
|
-
def
|
28
|
-
|
28
|
+
def run_tests
|
29
|
+
@allow_default_output = false
|
30
|
+
super
|
31
|
+
end
|
29
32
|
|
33
|
+
def _run_suites(suites, type)
|
30
34
|
@suites_start_time = Time.now
|
31
35
|
count_tests!(suites, type)
|
32
36
|
trigger_callback(:before_suites, suites, type)
|
@@ -75,9 +79,17 @@ module MiniTest
|
|
75
79
|
end
|
76
80
|
|
77
81
|
# Stub out the three IO methods used by the built-in reporter.
|
78
|
-
def puts(*args)
|
79
|
-
|
80
|
-
|
82
|
+
def puts(*args)
|
83
|
+
super if @allow_default_output
|
84
|
+
end
|
85
|
+
|
86
|
+
def print(*args)
|
87
|
+
super if @allow_default_output
|
88
|
+
end
|
89
|
+
|
90
|
+
def status(io = output)
|
91
|
+
super if @allow_default_output
|
92
|
+
end
|
81
93
|
|
82
94
|
private
|
83
95
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-reporters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.14.
|
4
|
+
version: 0.14.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Kern
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-04-
|
11
|
+
date: 2013-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|