minitest-reporters 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/minitest/reporters/rubymine_reporter.rb +3 -6
- 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: c5b61b265a409a4a0c2869a91d36ad9816f4240c
|
4
|
+
data.tar.gz: 92092cf854a5e58aaa6139f422c46614ae4027ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b50a9509cbcfa54235e68b1c33b462c2fca2357590a87088165fd02c5017b1d7180fa1b261d354ecc9fb8ab2522c171de21dfbb8feb3430706bf63f21f9a06b
|
7
|
+
data.tar.gz: f50c070ba8392915cb2b830f95d942a3aeb80821fbc4f862f6f9a9c7fc5087cf3eacf3d2f69bd0d8dec06fb59dda5b931ba621ec6b6622e69053148c52966d17
|
@@ -62,7 +62,9 @@ else
|
|
62
62
|
|
63
63
|
def record(test)
|
64
64
|
super
|
65
|
-
|
65
|
+
if test.passed?
|
66
|
+
log(@message_factory.create_test_finished(test.name, get_time_in_ms(test.time)))
|
67
|
+
else
|
66
68
|
with_result(test) do |exception_msg, backtrace|
|
67
69
|
if test.skipped?
|
68
70
|
log(@message_factory.create_test_ignored(test.name, exception_msg, backtrace))
|
@@ -92,11 +94,6 @@ else
|
|
92
94
|
log(@message_factory.create_test_started(test.name, minitest_test_location(fqn)))
|
93
95
|
end
|
94
96
|
|
95
|
-
def after_test(test)
|
96
|
-
super
|
97
|
-
log(@message_factory.create_test_finished(test.name, get_time_in_ms(test.time)))
|
98
|
-
end
|
99
|
-
|
100
97
|
#########
|
101
98
|
def log(msg)
|
102
99
|
output.flush
|
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.8
|
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-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|