rspec_tap_formatter 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rspec_tap_formatter.rb +6 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 601068ac2f555c6a5edb97a0d0f163903b8966863f2ecc65f1de7066bb993bad
|
4
|
+
data.tar.gz: 6f96466b8b050b6cc96221008c615587b145c35d9477fedd8331b84cf19005b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0e50911ad068b005d75dfd94b4ac5721404e93c7f790d84e9463a1d31cd30b3c54563d253cd67c3599e10ee1a654f8372d24c34123152697dec6b1437d81b31
|
7
|
+
data.tar.gz: 8ceb5d6996e3515584a73fbc2a7da920eb59607646bae8c8f2cb6baad5280ba1a202b0df4a2614cb10281e23f3a75ee602ca76a6c8dfd916aa885bbe4be39d67
|
data/Gemfile.lock
CHANGED
data/lib/rspec_tap_formatter.rb
CHANGED
@@ -2,7 +2,7 @@ require "rspec/core"
|
|
2
2
|
require "rspec/core/formatters/base_formatter"
|
3
3
|
|
4
4
|
class RspecTapFormatter < RSpec::Core::Formatters::BaseFormatter
|
5
|
-
VERSION = "0.
|
5
|
+
VERSION = "0.5.0"
|
6
6
|
# Specification found: https://testanything.org/tap-version-13-specification.html
|
7
7
|
#
|
8
8
|
# This registers the notifications this formatter supports, and tells
|
@@ -23,11 +23,12 @@ class RspecTapFormatter < RSpec::Core::Formatters::BaseFormatter
|
|
23
23
|
@count += 1
|
24
24
|
end
|
25
25
|
|
26
|
-
def example_passed(
|
27
|
-
@output << "ok #{@count}\n"
|
26
|
+
def example_passed(notification)
|
27
|
+
@output << "ok #{@count} #{notification.example.description}\n"
|
28
28
|
end
|
29
29
|
|
30
|
-
def example_failed(
|
31
|
-
@output << "not ok #{@count}
|
30
|
+
def example_failed(notification)
|
31
|
+
@output << "not ok #{@count} #{notification.example.description}\n"
|
32
|
+
@output << "# #{failed_example_notification.message_lines.join('\n# ')}\n"
|
32
33
|
end
|
33
34
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec_tap_formatter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gustavo Beathyate
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-06-
|
12
|
+
date: 2018-06-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec-core
|