rspec_tap_formatter 0.1.0 → 0.3.0

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: 676a819f02f50472118fdfd68f7819a79d5fcef628bf8608c49443e062b041d8
4
- data.tar.gz: 64a23f939b4a0bf4aba37a664602489d3f5104415014d3b82514ad94313e32ad
3
+ metadata.gz: 7f6c64ffb35b4fba92ccdee4ee9eff4f9528ba1cb83e64c5e25a3115cae86011
4
+ data.tar.gz: 8cc139bb2764d1d51315587b40174167879a7fe7ea6225688701a2c749ce2c43
5
5
  SHA512:
6
- metadata.gz: a86b79eba5d5efef0103b72b0d463be007a3604b939ff40c4d717dd79856e8c201ea2fe78d4f5e8b9a75ac3708718d36d8e15eb015b4aa0d7be3a17910dc79e5
7
- data.tar.gz: 418f73e265440728d297a0c2053daf0ba646450d11fb9f821770a66af041eee47fde0cfe80f0c0db21ae2eeaaf9d6e094dee8e00c33c398892787c52e2d47ed1
6
+ metadata.gz: d6664e3470e69738a4ae5fa7f1f0abf2055080918a2d684da4d13f662ff8e442c269a41e1cd77d224696be1b10c7a46b9603b0c764323baf5c02dc3b3baaedb2
7
+ data.tar.gz: 71fad40b25c92be86f68dfdfab1f2aea658e48908bd43ac6e2d2fde55d108575df75b36dbecb940a68e6da1968f64c06f3cdf270eb5abc58b5721b20a5dbdfe3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rspec_tap_formatter (0.1.0)
4
+ rspec_tap_formatter (0.3.0)
5
5
  rspec-core (~> 3.7.1)
6
6
 
7
7
  GEM
@@ -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.1.0"
5
+ VERSION = "0.3.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
@@ -15,8 +15,8 @@ class RspecTapFormatter < RSpec::Core::Formatters::BaseFormatter
15
15
  end
16
16
 
17
17
  def start(notification)
18
- @output << "TAP version 13\n"
19
- @output << "1..#{notification.count}\n"
18
+ @output << "\rTAP version 13\n"
19
+ @output << "\r1..#{notification.count}\n"
20
20
  end
21
21
 
22
22
  def example_started(notification)
@@ -24,10 +24,10 @@ class RspecTapFormatter < RSpec::Core::Formatters::BaseFormatter
24
24
  end
25
25
 
26
26
  def example_passed(example_notification)
27
- @output << "ok #{@count}\n"
27
+ @output << "\rok #{@count}\n"
28
28
  end
29
29
 
30
30
  def example_failed(failed_example_notification)
31
- @output << "not ok #{@count}\n"
31
+ @output << "\rnot ok #{@count} - #{failed_example_notification.message_lines.join(' ')}\n"
32
32
  end
33
33
  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.1.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gustavo Beathyate