minitest-reporters 1.3.6 → 1.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +28 -27
- data/.rubocop.yml +77 -77
- data/.ruby-gemset +1 -1
- data/.travis.yml +14 -14
- data/.yardopts +5 -5
- data/CHANGELOG.md +98 -93
- data/Gemfile +2 -2
- data/LICENSE +20 -20
- data/README.md +135 -135
- data/Rakefile +70 -70
- data/appveyor.yml +22 -22
- data/lib/minitest/extensible_backtrace_filter.rb +67 -67
- data/lib/minitest/minitest_reporter_plugin.rb +76 -76
- data/lib/minitest/old_activesupport_fix.rb +24 -24
- data/lib/minitest/relative_position.rb +26 -26
- data/lib/minitest/reporters.rb +91 -91
- data/lib/minitest/reporters/ansi.rb +30 -30
- data/lib/minitest/reporters/base_reporter.rb +136 -136
- data/lib/minitest/reporters/default_reporter.rb +228 -228
- data/lib/minitest/reporters/html_reporter.rb +224 -224
- data/lib/minitest/reporters/junit_reporter.rb +168 -164
- data/lib/minitest/reporters/mean_time_reporter.rb +388 -388
- data/lib/minitest/reporters/progress_reporter.rb +102 -96
- data/lib/minitest/reporters/ruby_mate_reporter.rb +54 -54
- data/lib/minitest/reporters/rubymine_reporter.rb +116 -116
- data/lib/minitest/reporters/spec_reporter.rb +61 -61
- data/lib/minitest/reporters/version.rb +5 -5
- data/lib/minitest/templates/index.html.erb +82 -82
- data/minitest-reporters.gemspec +31 -32
- data/test/fixtures/junit_filename_bug_example_test.rb +41 -41
- data/test/fixtures/mean_time_test.rb +36 -36
- data/test/fixtures/progress_detailed_skip_test.rb +8 -8
- data/test/fixtures/progress_test.rb +8 -8
- data/test/fixtures/sample_test.rb +15 -15
- data/test/fixtures/spec_test.rb +18 -18
- data/test/gallery/bad_test.rb +25 -25
- data/test/gallery/good_test.rb +14 -14
- data/test/integration/reporters/junit_reporter_test.rb +12 -12
- data/test/integration/reporters/mean_time_reporter_test.rb +7 -7
- data/test/integration/reporters/progress_reporter_test.rb +40 -40
- data/test/test_helper.rb +22 -22
- data/test/unit/minitest/extensible_backtrace_filter_test.rb +42 -42
- data/test/unit/minitest/junit_reporter_test.rb +46 -23
- data/test/unit/minitest/mean_time_reporter_unit_test.rb +149 -149
- data/test/unit/minitest/minitest_reporter_plugin_test.rb +14 -14
- data/test/unit/minitest/reporters_test.rb +65 -65
- data/test/unit/minitest/spec_reporter_test.rb +62 -62
- metadata +22 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd37a322a8c4201280360c9cdf86887566f568d9080ab0114fed9f39e206e682
|
4
|
+
data.tar.gz: 3b9f55793131b6b3477ee8f1049cfe56475be6229cd2efa35ca80edeaba33d1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40fc53af19793da351af574bf5c6983cf130cded48e55f121bf5ff03000d3277c1e85b1c3165ac401a23c84e48f00904233c1c20d665cb3df7a32ac4ac724fba
|
7
|
+
data.tar.gz: 00c2daf8679f82c9b71309a32bf74d5a2a915ff84403bd092b09701810871d323c17bc877ad4b1c47fab2ae6d4c9a4ea11990f460e040869087e69ac2331b8ce
|
data/.gitignore
CHANGED
@@ -1,27 +1,28 @@
|
|
1
|
-
coverage
|
2
|
-
rdoc
|
3
|
-
pkg
|
4
|
-
test/tmp
|
5
|
-
test/version_tmp
|
6
|
-
test/reports
|
7
|
-
test/html_reports
|
8
|
-
tmp
|
9
|
-
pkg
|
10
|
-
*.gem
|
11
|
-
*.rbc
|
12
|
-
lib/bundler/man
|
13
|
-
spec/reports
|
14
|
-
.config
|
15
|
-
InstalledFiles
|
16
|
-
.bundle
|
17
|
-
|
18
|
-
# YARD artifacts
|
19
|
-
.yardoc
|
20
|
-
_yardoc
|
21
|
-
doc/
|
22
|
-
|
23
|
-
# Gem-specific
|
24
|
-
Gemfile.lock
|
25
|
-
.idea/
|
26
|
-
.ruby-version
|
27
|
-
|
1
|
+
coverage
|
2
|
+
rdoc
|
3
|
+
pkg
|
4
|
+
test/tmp
|
5
|
+
test/version_tmp
|
6
|
+
test/reports
|
7
|
+
test/html_reports
|
8
|
+
tmp
|
9
|
+
pkg
|
10
|
+
*.gem
|
11
|
+
*.rbc
|
12
|
+
lib/bundler/man
|
13
|
+
spec/reports
|
14
|
+
.config
|
15
|
+
InstalledFiles
|
16
|
+
.bundle
|
17
|
+
|
18
|
+
# YARD artifacts
|
19
|
+
.yardoc
|
20
|
+
_yardoc
|
21
|
+
doc/
|
22
|
+
|
23
|
+
# Gem-specific
|
24
|
+
Gemfile.lock
|
25
|
+
.idea/
|
26
|
+
.ruby-version
|
27
|
+
vendor
|
28
|
+
|
data/.rubocop.yml
CHANGED
@@ -1,77 +1,77 @@
|
|
1
|
-
---
|
2
|
-
#AllCops:
|
3
|
-
# DisabledByDefault: true
|
4
|
-
|
5
|
-
Layout:
|
6
|
-
Enabled: true
|
7
|
-
|
8
|
-
Layout/MultilineOperationIndentation:
|
9
|
-
EnforcedStyle: indented
|
10
|
-
|
11
|
-
Lint:
|
12
|
-
Enabled: true
|
13
|
-
|
14
|
-
Metrics:
|
15
|
-
Severity: refactor
|
16
|
-
Enabled: false
|
17
|
-
|
18
|
-
Metrics/LineLength:
|
19
|
-
Severity: convention
|
20
|
-
Max: 130
|
21
|
-
|
22
|
-
Naming:
|
23
|
-
Enabled: true
|
24
|
-
|
25
|
-
Naming/UncommunicativeMethodParamName:
|
26
|
-
MinNameLength: 1
|
27
|
-
|
28
|
-
Performance:
|
29
|
-
Enabled: true
|
30
|
-
|
31
|
-
Rails:
|
32
|
-
Enabled: false
|
33
|
-
|
34
|
-
Security:
|
35
|
-
Enabled: true
|
36
|
-
|
37
|
-
#todo: enable
|
38
|
-
Style:
|
39
|
-
Enabled: true
|
40
|
-
|
41
|
-
Style/FormatStringToken:
|
42
|
-
Enabled: false
|
43
|
-
|
44
|
-
Style/IfUnlessModifier:
|
45
|
-
Enabled: false
|
46
|
-
|
47
|
-
#todo: enable
|
48
|
-
Style/StringLiterals:
|
49
|
-
Enabled: false
|
50
|
-
|
51
|
-
Style/TrailingCommaInHashLiteral:
|
52
|
-
EnforcedStyleForMultiline: comma
|
53
|
-
|
54
|
-
#todo: enable
|
55
|
-
Style/HashSyntax:
|
56
|
-
Enabled: false
|
57
|
-
|
58
|
-
#todo: enable
|
59
|
-
Style/FormatString:
|
60
|
-
Enabled: false
|
61
|
-
|
62
|
-
#todo: enable
|
63
|
-
Style/ClassVars:
|
64
|
-
Enabled: false
|
65
|
-
|
66
|
-
#todo: enable
|
67
|
-
Style/Alias:
|
68
|
-
Enabled: false
|
69
|
-
|
70
|
-
Style/Documentation:
|
71
|
-
Enabled: false
|
72
|
-
|
73
|
-
Bundler:
|
74
|
-
Enabled: true
|
75
|
-
|
76
|
-
Gemspec:
|
77
|
-
Enabled: true
|
1
|
+
---
|
2
|
+
#AllCops:
|
3
|
+
# DisabledByDefault: true
|
4
|
+
|
5
|
+
Layout:
|
6
|
+
Enabled: true
|
7
|
+
|
8
|
+
Layout/MultilineOperationIndentation:
|
9
|
+
EnforcedStyle: indented
|
10
|
+
|
11
|
+
Lint:
|
12
|
+
Enabled: true
|
13
|
+
|
14
|
+
Metrics:
|
15
|
+
Severity: refactor
|
16
|
+
Enabled: false
|
17
|
+
|
18
|
+
Metrics/LineLength:
|
19
|
+
Severity: convention
|
20
|
+
Max: 130
|
21
|
+
|
22
|
+
Naming:
|
23
|
+
Enabled: true
|
24
|
+
|
25
|
+
Naming/UncommunicativeMethodParamName:
|
26
|
+
MinNameLength: 1
|
27
|
+
|
28
|
+
Performance:
|
29
|
+
Enabled: true
|
30
|
+
|
31
|
+
Rails:
|
32
|
+
Enabled: false
|
33
|
+
|
34
|
+
Security:
|
35
|
+
Enabled: true
|
36
|
+
|
37
|
+
#todo: enable
|
38
|
+
Style:
|
39
|
+
Enabled: true
|
40
|
+
|
41
|
+
Style/FormatStringToken:
|
42
|
+
Enabled: false
|
43
|
+
|
44
|
+
Style/IfUnlessModifier:
|
45
|
+
Enabled: false
|
46
|
+
|
47
|
+
#todo: enable
|
48
|
+
Style/StringLiterals:
|
49
|
+
Enabled: false
|
50
|
+
|
51
|
+
Style/TrailingCommaInHashLiteral:
|
52
|
+
EnforcedStyleForMultiline: comma
|
53
|
+
|
54
|
+
#todo: enable
|
55
|
+
Style/HashSyntax:
|
56
|
+
Enabled: false
|
57
|
+
|
58
|
+
#todo: enable
|
59
|
+
Style/FormatString:
|
60
|
+
Enabled: false
|
61
|
+
|
62
|
+
#todo: enable
|
63
|
+
Style/ClassVars:
|
64
|
+
Enabled: false
|
65
|
+
|
66
|
+
#todo: enable
|
67
|
+
Style/Alias:
|
68
|
+
Enabled: false
|
69
|
+
|
70
|
+
Style/Documentation:
|
71
|
+
Enabled: false
|
72
|
+
|
73
|
+
Bundler:
|
74
|
+
Enabled: true
|
75
|
+
|
76
|
+
Gemspec:
|
77
|
+
Enabled: true
|
data/.ruby-gemset
CHANGED
@@ -1 +1 @@
|
|
1
|
-
minitest-reporters
|
1
|
+
minitest-reporters
|
data/.travis.yml
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
script: 'rake test'
|
2
|
-
before_install:
|
3
|
-
- gem install bundler gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
|
4
|
-
- gem install bundler -v '< 2'
|
5
|
-
rvm:
|
6
|
-
- 2
|
7
|
-
- 2.5
|
8
|
-
- 2.4
|
9
|
-
- 2.3
|
10
|
-
- 2.2
|
11
|
-
- 2.1
|
12
|
-
- 2.0
|
13
|
-
- 1.9.3
|
14
|
-
- jruby
|
1
|
+
script: 'rake test'
|
2
|
+
before_install:
|
3
|
+
- gem install bundler gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
|
4
|
+
- gem install bundler -v '< 2'
|
5
|
+
rvm:
|
6
|
+
- 2
|
7
|
+
- 2.5
|
8
|
+
- 2.4
|
9
|
+
- 2.3
|
10
|
+
- 2.2
|
11
|
+
- 2.1
|
12
|
+
- 2.0
|
13
|
+
- 1.9.3
|
14
|
+
- jruby
|
data/.yardopts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
--readme README.md
|
2
|
-
--markup markdown
|
3
|
-
--markup-provider maruku
|
4
|
-
--default-return ""
|
5
|
-
--title "Minitest-reporters Documentation"
|
1
|
+
--readme README.md
|
2
|
+
--markup markdown
|
3
|
+
--markup-provider maruku
|
4
|
+
--default-return ""
|
5
|
+
--title "Minitest-reporters Documentation"
|
6
6
|
--hide-void-return
|
data/CHANGELOG.md
CHANGED
@@ -1,93 +1,98 @@
|
|
1
|
-
### [dev](https://github.com/kern/minitest-reporters/compare/v1.3.
|
2
|
-
|
3
|
-
### [1.3.
|
4
|
-
|
5
|
-
*
|
6
|
-
|
7
|
-
|
8
|
-
### [1.3.
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
### [1.3.
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
*
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
### [1.2.0.
|
64
|
-
|
65
|
-
*
|
66
|
-
*
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
*
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
1
|
+
### [dev](https://github.com/kern/minitest-reporters/compare/v1.3.7...master)
|
2
|
+
|
3
|
+
### [1.3.7](https://github.com/kern/minitest-reporters/compare/v1.3.6...v1.3.7)
|
4
|
+
|
5
|
+
* added ability to specify output dir of JUnitReporter through ENV [#277](https://github.com/kern/minitest-reporters/pull/277) countributed by [KevinSjoberg](https://github.com/KevinSjoberg)
|
6
|
+
* Added verbose functionality to ProgressReporter [#278](https://github.com/kern/minitest-reporters/pull/278) contributed by [senhalil](https://github.com/senhalil)
|
7
|
+
|
8
|
+
### [1.3.6](https://github.com/kern/minitest-reporters/compare/v1.3.5...v1.3.6)
|
9
|
+
|
10
|
+
* fixed possible null pointer in #after_suite [#274](https://github.com/kern/minitest-reporters/pull/274)
|
11
|
+
contributed by [casperisfine](https://github.com/casperisfine)
|
12
|
+
|
13
|
+
### [1.3.5](https://github.com/kern/minitest-reporters/compare/v1.3.5.beta1...v1.3.5)
|
14
|
+
|
15
|
+
### [1.3.5.beta1](https://github.com/kern/minitest-reporters/compare/v1.3.4...v1.3.5.beta1)
|
16
|
+
|
17
|
+
* additional fix for reporting slowest suites by DefaultReporter [#270](https://github.com/kern/minitest-reporters/issues/270)
|
18
|
+
|
19
|
+
### [1.3.4](https://github.com/kern/minitest-reporters/compare/v1.3.3...v1.3.4)
|
20
|
+
|
21
|
+
* fixed the way DefaultReporter reports slowest suites [#270](https://github.com/kern/minitest-reporters/issues/270)
|
22
|
+
|
23
|
+
### [1.3.3](https://github.com/kern/minitest-reporters/compare/v1.3.2...v1.3.3)
|
24
|
+
|
25
|
+
* fixed problem with default report paths for MeanTimeReporter [#269](https://github.com/kern/minitest-reporters/pull/269)
|
26
|
+
contributed by [duonoid](https://github.com/duonoid)
|
27
|
+
|
28
|
+
### [1.3.2](https://github.com/kern/minitest-reporters/compare/v1.3.2.beta2...v1.3.2)
|
29
|
+
|
30
|
+
### [1.3.2.beta2](https://github.com/kern/minitest-reporters/compare/v1.3.2.beta1...v1.3.2.beta2)
|
31
|
+
|
32
|
+
* fixed the way JUnitReporter calculates relative path [#258](https://github.com/kern/minitest-reporters/issues/258)
|
33
|
+
|
34
|
+
### [1.3.2.beta1](https://github.com/kern/minitest-reporters/compare/v1.3.1...v1.3.2.beta1)
|
35
|
+
|
36
|
+
* SpecReporter do not print exception name any more (unless it is an test error) [#264](https://github.com/kern/minitest-reporters/issues/264)
|
37
|
+
* Fixed loading error caused by fix for [#265](https://github.com/kern/minitest-reporters/pull/265)
|
38
|
+
see [#267](https://github.com/kern/minitest-reporters/issues/267) and
|
39
|
+
[#268](https://github.com/kern/minitest-reporters/pull/268) for more details.
|
40
|
+
|
41
|
+
### [1.3.1](https://github.com/kern/minitest-reporters/compare/v1.3.1.beta1...v1.3.1)
|
42
|
+
|
43
|
+
### [1.3.1.beta1](https://github.com/kern/minitest-reporters/compare/v1.3.0...v1.3.1.beta1)
|
44
|
+
|
45
|
+
* Fixed time reporting [#265](https://github.com/kern/minitest-reporters/pull/265) contributed by [brendandeere](https://github.com/brendandeere)
|
46
|
+
|
47
|
+
### [1.3.0](https://github.com/kern/minitest-reporters/compare/v1.3.0.beta3...v1.3.0)
|
48
|
+
|
49
|
+
### [1.3.0.beta3](https://github.com/kern/minitest-reporters/compare/v1.3.0.beta2...v1.3.0.beta3)
|
50
|
+
|
51
|
+
* [#261](https://github.com/kern/minitest-reporters/issues/261) fixed by [#262](https://github.com/kern/minitest-reporters/pull/262) contributed by [trabulmonkee](https://github.com/trabulmonkee)
|
52
|
+
|
53
|
+
### [1.3.0.beta2](https://github.com/kern/minitest-reporters/compare/v1.3.0.beta1...v1.3.0.beta2)
|
54
|
+
|
55
|
+
* JUnit reporter fixed to comply with JUnit spec ([#257](https://github.com/kern/minitest-reporters/issues/257), [#260](https://github.com/kern/minitest-reporters/pull/260) contributed by [brettwgreen](https://github.com/brettwgreen))
|
56
|
+
|
57
|
+
### [1.3.0.beta1](https://github.com/kern/minitest-reporters/compare/v1.2.0...v1.3.0.beta1)
|
58
|
+
|
59
|
+
* MINITEST_REPORTER env variable can be used to override reporter [#256](https://github.com/kern/minitest-reporters/pull/256) (contributed by [brettwgreen](https://github.com/brettwgreen))
|
60
|
+
|
61
|
+
### [1.2.0](https://github.com/kern/minitest-reporters/compare/v1.2.0.beta3...v1.2.0)
|
62
|
+
|
63
|
+
### [1.2.0.beta3](https://github.com/kern/minitest-reporters/compare/v1.2.0.beta2...v1.2.0.beta3)
|
64
|
+
|
65
|
+
* junit reporter changed to support mintest >= 5.11 [#252](https://github.com/kern/minitest-reporters/pull/252) (contributed by [Kevinrob](https://github.com/Kevinrob))
|
66
|
+
* all reporters changed to be compatible with minitest >= 5.11 (if not - report a bug ;)
|
67
|
+
|
68
|
+
### [1.2.0.beta2](https://github.com/kern/minitest-reporters/compare/v1.2.0.beta1...v1.2.0.beta2)
|
69
|
+
|
70
|
+
* fixed uninitialized time in junit reporter [#251](https://github.com/kern/minitest-reporters/issues/251)
|
71
|
+
* format option added to progress reporter [#240](https://github.com/kern/minitest-reporters/pull/240) (contributed by [jorgesmu](https://github.com/jorgesmu))
|
72
|
+
* improved output of junit reporter [#245](https://github.com/kern/minitest-reporters/pull/245) (contributed by [jules2689](https://github.com/jules2689))
|
73
|
+
|
74
|
+
### [1.2.0.beta1](https://github.com/kern/minitest-reporters/compare/v1.1.19...v1.2.0.beta1)
|
75
|
+
|
76
|
+
* SpecReporter regression for Minitest 5.11.1 fixed [#250](https://github.com/kern/minitest-reporters/pull/250) (contrinuted by [mbround18](https://github.com/mbround18))
|
77
|
+
|
78
|
+
### [1.1.19](https://github.com/kern/minitest-reporters/compare/v1.1.18...v1.1.19)
|
79
|
+
|
80
|
+
* Reverted [#236](https://github.com/kern/minitest-reporters/pull/236) (it creates too many problems)
|
81
|
+
|
82
|
+
### [1.1.18](https://github.com/kern/minitest-reporters/compare/v1.1.17...v1.1.18)
|
83
|
+
|
84
|
+
* Fixed problem with Rails 5.1.3 [#230](https://github.com/kern/minitest-reporters/issues/230) by [#236](https://github.com/kern/minitest-reporters/pull/236) (contributed by [samcday](https://github.com/samcday))
|
85
|
+
|
86
|
+
### [1.1.17](https://github.com/kern/minitest-reporters/compare/v1.1.16...v1.1.17)
|
87
|
+
|
88
|
+
* Fixed tests' counting [#232](https://github.com/kern/minitest-reporters/pull/232) (contributed by [adaedra](https://github.com/adaedra))
|
89
|
+
|
90
|
+
### [1.1.16](https://github.com/kern/minitest-reporters/compare/v1.1.15...v1.1.16)
|
91
|
+
|
92
|
+
* reverted fix for [#231](https://github.com/kern/minitest-reporters/pull/231) to fix[#233](https://github.com/kern/minitest-reporters/pull/233)
|
93
|
+
|
94
|
+
## [1.1.15](https://github.com/kern/minitest-reporters/compare/v1.1.14...v1.1.15)
|
95
|
+
|
96
|
+
* Fixed problem with handling SIGINFO [#231](https://github.com/kern/minitest-reporters/pull/231) (contributed by [joshpencheon](https://github.com/joshpencheon))
|
97
|
+
|
98
|
+
|