minitest-reporters 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -0
- data/lib/minitest/reporters.rb +1 -5
- data/lib/minitest/reporters/default_reporter.rb +1 -1
- data/lib/minitest/reporters/version.rb +1 -1
- data/test/test_helper.rb +3 -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: 94968d2c922263e975f79ff3383a03478408a9ab
|
4
|
+
data.tar.gz: bc631608d49161a8ab00a423faaadf869b888f9c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e456ef7009a0dac54ed9c34c94deaaedf96dfa8ffd0a40da9477c6d11371f52c344dfe0542540215736e0ee45c6d66f5de728296c83eeea87fc31ad7ba2a891d
|
7
|
+
data.tar.gz: 7000fa88f6a8e80ddc04c871d08ee35e2c8ab062de084e7be212b7bcd4b157f1ef9e38fbab4c4df3abcccac25eca5f669aed2468d7836272c4276431a8589d80
|
data/Rakefile
CHANGED
data/lib/minitest/reporters.rb
CHANGED
@@ -162,7 +162,7 @@ module Minitest
|
|
162
162
|
elsif test.error?
|
163
163
|
"Error:\n#{test.class}##{test.name}:\n#{e.message}"
|
164
164
|
else
|
165
|
-
"Failure:\n#{test.class}##{test.name}
|
165
|
+
"Failure:\n#{test.class}##{test.name} [#{test.failure.location}]\n#{e.class}: #{e.message}"
|
166
166
|
end
|
167
167
|
end
|
168
168
|
|
data/test/test_helper.rb
CHANGED
@@ -11,7 +11,9 @@ end
|
|
11
11
|
# brittle. Consequently, there are no unit tests for them. If you'd like to run
|
12
12
|
# all the reporters sequentially on a fake test suite, run `rake gallery`.
|
13
13
|
|
14
|
-
if ENV["REPORTER"]
|
14
|
+
if ENV["REPORTER"] == "Pride"
|
15
|
+
require "minitest/pride"
|
16
|
+
elsif ENV["REPORTER"]
|
15
17
|
reporter_klass = Minitest::Reporters.const_get(ENV["REPORTER"])
|
16
18
|
Minitest::Reporters.use!(reporter_klass.new)
|
17
19
|
else
|
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: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Kern
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|