minitest-reporters 1.3.3 → 1.3.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 925053b10dcfc1b7b98ff321feb95068fcdaac0b4b37ccdb0ef2b578448f6aa0
|
4
|
+
data.tar.gz: 2572035121add92977b65973f669ba8956e965fb334cde5d5e9f72f95337b8e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cd9b247f181542bba6e2c634c487ca9bd9248e278d1e99ff87c8b47f3331cfec759e8796fab66c444536b3cd971f8817ca2ef76a21eee4aa7f630263ec3a2f2
|
7
|
+
data.tar.gz: a092aca7c6a8badc5dd1ef75d6896499e6a80a7f0712564f328d16c48b4073ad82ffce744eeac5c292211f9c101c56af8beea4765bd439e49cbec47b8a625b08
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,8 @@
|
|
1
|
-
### [dev](https://github.com/kern/minitest-reporters/compare/v1.3.
|
1
|
+
### [dev](https://github.com/kern/minitest-reporters/compare/v1.3.4...master)
|
2
|
+
|
3
|
+
### [1.3.4](https://github.com/kern/minitest-reporters/compare/v1.3.3...v1.3.4)
|
4
|
+
|
5
|
+
* fixed the way DefaultReporter reports slowest suites [#270](https://github.com/kern/minitest-reporters/issues/270)
|
2
6
|
|
3
7
|
### [1.3.3](https://github.com/kern/minitest-reporters/compare/v1.3.2...v1.3.3)
|
4
8
|
|
@@ -113,7 +113,7 @@ module Minitest
|
|
113
113
|
puts
|
114
114
|
|
115
115
|
slow_tests.each do |test|
|
116
|
-
puts "%.6fs %s" % [test.time,
|
116
|
+
puts "%.6fs %s#%s" % [test.time, test.name, test_class(test)]
|
117
117
|
end
|
118
118
|
end
|
119
119
|
|
@@ -125,7 +125,7 @@ module Minitest
|
|
125
125
|
puts
|
126
126
|
|
127
127
|
slow_suites.each do |slow_suite|
|
128
|
-
puts "%.6fs %s" % [slow_suite[1],
|
128
|
+
puts "%.6fs %s" % [slow_suite[1], slow_suite[0]]
|
129
129
|
end
|
130
130
|
end
|
131
131
|
|
@@ -1,5 +1,4 @@
|
|
1
1
|
require_relative '../../test_helper'
|
2
|
-
require "ostruct"
|
3
2
|
|
4
3
|
module MinitestReportersTest
|
5
4
|
class MeanTimeReporterUnitTest < Minitest::Test
|
@@ -106,14 +105,10 @@ module MinitestReportersTest
|
|
106
105
|
end
|
107
106
|
|
108
107
|
def configure_report_paths
|
109
|
-
|
110
|
-
|
111
|
-
@
|
112
|
-
|
113
|
-
report_file = Tempfile.new('minitest-mean-time-report')
|
114
|
-
report_file.close
|
115
|
-
@report_file_path = report_file.path
|
116
|
-
report_file.delete
|
108
|
+
@previous_run_path = File.expand_path("../minitest-mean-time-previous-runs", File.realpath(__FILE__))
|
109
|
+
File.delete(@previous_run_path) if File.exist?(@previous_run_path)
|
110
|
+
@report_file_path = File.expand_path("../minitest-mean-time-report", File.realpath(__FILE__))
|
111
|
+
File.delete(@report_file_path) if File.exist?(@report_file_path)
|
117
112
|
end
|
118
113
|
|
119
114
|
def generate_report(sort_column, time_name)
|
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.3.
|
4
|
+
version: 1.3.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: 2018-
|
11
|
+
date: 2018-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|