turn-again-reporter 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/lib/minitest/reporters/turn_again_reporter.rb +5 -0
- data/lib/minitest/reporters/turn_again_reporter/version.rb +7 -0
- data/turn-again-reporter.gemspec +1 -1
- metadata +3 -3
- data/lib/version.rb +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89e66ba1383289ca4a09134f2f4737d7796c2cb2
|
4
|
+
data.tar.gz: 4a68013f0dc01ade97ba88e1ba27d9675f4fd365
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 521b108905f19251ad376fee65ba289da0e051d0871be02789c72cfef6c3ef50d688eb3ad7b47f87d7cf9fc326335897d973970a89fafc67af852b9f5b340c04
|
7
|
+
data.tar.gz: 086482878cecd8cbf1c8bba1222c63e6f6c98a53e096c9e09d096b8afc631f3ecb6034b1555f566a1230e5c83394cfcd9db9818ec7fdbe522cecb8902ec84004
|
data/README.md
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
# A Turn-like Minitest Reporter (Again)
|
2
2
|
|
3
|
-
One of my favorite aspects of the now-abandoned [turn gem](https://github.com/turn-project/turn)
|
3
|
+
One of my favorite aspects of the now-abandoned [turn gem](https://github.com/turn-project/turn) was how the status banners for each test (i.e. PASS, FAIL, ERROR, SKIP) lined up nicely on the right side, providing a comfy, at-a-glance view.
|
4
4
|
|
5
|
-
These days I'm using the [minitest-reporters](https://github.com/kern/minitest-reporters) gem everywhere, but I've felt a little picky about the SpecReporter's claims to be "Turn-like".
|
5
|
+
These days I'm using the [minitest-reporters](https://github.com/kern/minitest-reporters) gem everywhere, but I've felt a little picky about the SpecReporter's claims to be "Turn-like". In addition to the right-aligned status banners being a little unfamiliar, since they come after the test name, it has the undesirable effect of limiting the length of my test names.
|
6
6
|
|
7
7
|
**Q: Do I really need tests with 60-character names?**
|
8
|
+
|
8
9
|
*A: Yes, sometimes. And it's none of your business!*
|
9
10
|
|
10
11
|
This might be better off included in the minitest-reporters gem itself, but it varies so minimally/cosmetically from its parent that I can't bring myself to bother the wonderful [Alex Kern](https://github.com/kern) about it with a pull request. It's really just an easy way for me to spread this code across all my projects without copy-pasting it. If someone else out there enjoys this formatting, I'm glad to hear it.
|
@@ -1,5 +1,10 @@
|
|
1
|
+
require 'minitest'
|
2
|
+
require 'minitest/reporters'
|
3
|
+
|
1
4
|
module Minitest
|
2
5
|
module Reporters
|
6
|
+
require 'minitest/reporters/turn_again_reporter/version'
|
7
|
+
|
3
8
|
# Reporter whose output more closely mimics the format of the turn gem.
|
4
9
|
# Specifically:
|
5
10
|
# 1. The status banner and time on the left, which removes the need to
|
data/turn-again-reporter.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: turn-again-reporter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Kwiatkowski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -75,7 +75,7 @@ files:
|
|
75
75
|
- README.md
|
76
76
|
- Rakefile
|
77
77
|
- lib/minitest/reporters/turn_again_reporter.rb
|
78
|
-
- lib/version.rb
|
78
|
+
- lib/minitest/reporters/turn_again_reporter/version.rb
|
79
79
|
- turn-again-reporter.gemspec
|
80
80
|
homepage: https://github.com/swifthand/turn-again-reporter
|
81
81
|
licenses:
|