fivemat 1.2.0 → 1.2.1

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
  SHA1:
3
- metadata.gz: e986598270a34ee0c78a6e4920f2e3841f9df12a
4
- data.tar.gz: 9d6e3b90e7281efc7996e6cbf6c7068c3a58b7b3
3
+ metadata.gz: 9349641487e0924084af60468129537311044e74
4
+ data.tar.gz: b2041a9644d70b97bc3c5d91a4e16df1a0726b4b
5
5
  SHA512:
6
- metadata.gz: ca7acf55440342459edd45cbdb24fc7f248b78cdd5174ea5a1932fbea6765c6582c131c66249723463576fbfd1e01ea2ead556129d385842590f0d233f79c3e4
7
- data.tar.gz: c00e350caa74ceef739a24b4c160dbac76804827c11a04c078edee87976216c18dfc8041e78681e4d44ba4fb0f274afd654292854de531fd8266b51f89c183ac
6
+ metadata.gz: 7c6c113654615425a1131478b39b97262f8eb15d3ebbc9fd91ce09b3ac97f9ffbc3eef1d70d2d6d0471ab74845d19da739e1efa4d40f0d7a0cf0e3612c4b1510
7
+ data.tar.gz: 1689d261d1bcd2eb0d260ce1d0477f988af5e04c35d2e9fbb511601a22b7958ae4de6615cbc1b43147f5a0cc3a5861c2a99b02e299f061745be6466ca63494a5
@@ -12,5 +12,5 @@ Gem::Specification.new do |gem|
12
12
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
13
13
  gem.name = "fivemat"
14
14
  gem.require_paths = ["lib"]
15
- gem.version = '1.2.0'
15
+ gem.version = '1.2.1'
16
16
  end
@@ -8,6 +8,7 @@ module Fivemat
8
8
  super
9
9
  @group_level = 0
10
10
  @index_offset = 0
11
+ @cumulative_failed_examples = []
11
12
  end
12
13
 
13
14
  def example_group_started(group)
@@ -34,6 +35,7 @@ module Fivemat
34
35
  dump_backtrace(example)
35
36
  end
36
37
  @index_offset += failed_examples.size
38
+ @cumulative_failed_examples += failed_examples
37
39
  failed_examples.clear
38
40
  end
39
41
  end
@@ -51,6 +53,11 @@ module Fivemat
51
53
  output.puts blue("#{long_padding}Expected pending '#{example.metadata[:execution_result][:pending_message]}' to fail. No Error was raised.")
52
54
  end
53
55
 
56
+ def dump_summary(*)
57
+ @failed_examples = @cumulative_failed_examples
58
+ super
59
+ end
60
+
54
61
  def start_dump
55
62
  # Skip the call to output.puts in the messiest way possible.
56
63
  self.class.superclass.superclass.instance_method(:start_dump).bind(self).call
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fivemat
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Pope
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-03-02 00:00:00.000000000 Z
11
+ date: 2013-03-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: MiniTest/RSpec/Cucumber formatter that gives each test file its own line
14
14
  of dots