minitest 5.8.3 → 5.8.4

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: afba7b74c4a3b74b76007242b439f17720f039c6
4
- data.tar.gz: 517dac13240555cb8e0688f40b7077d56756e8e4
3
+ metadata.gz: 96c328838ba639909ac35ee478b39763102cd6d5
4
+ data.tar.gz: fce09e24ce3c5163f716015615ffa0f09545a938
5
5
  SHA512:
6
- metadata.gz: a660c1e4b7335d0db45770c906351070f317a00f4e6b76a1d1ce882efbbd0a8343f3854351a3d18540dcb33dd5c7a30470a1610828883262bcd7c36734bf6f4d
7
- data.tar.gz: 4d406c3a9bf69bb7606f40df5231b31f79be461ea4e17fd01b8287ef37fd63e6bb4d6fc58592e2815793c20fc85030ec89ee6e40b44646f75e96cce0df2ad6b3
6
+ metadata.gz: ec2f4044d59911781853b13b40e75e9037d3bb48884f1791c2340e70bd82c633071c1a3839e14632d1e1a5b268118f03886845656ddf56f53cf0f8e9b2921a51
7
+ data.tar.gz: c62fdce145757dcc0c7e15c81a57c97ee2cdf13dda0884158d6ead82849ba35b6df1de06987db44fbbcb3e3288a91ad762cf49bbf94b0b048e9070c80db52552
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,9 @@
1
+ === 5.8.4 / 2016-01-21
2
+
3
+ * 1 bug fix:
4
+
5
+ * Allow Minitest::Assertion to pass through assert_raises so inner failures are dealt with first.
6
+
1
7
  === 5.8.3 / 2015-11-17
2
8
 
3
9
  * 1 minor enhancement:
@@ -462,6 +462,8 @@ minispec-metadata :: Metadata for describe/it blocks & CLI tag filter.
462
462
  `ruby test.rb --tag js` runs tests tagged :js.
463
463
  minitest-around :: Around block for minitest. An alternative to
464
464
  setup/teardown dance.
465
+ minitest-assert_errors :: Adds Minitest assertions to test for errors raised
466
+ or not raised by Minitest itself.
465
467
  minitest-autotest :: autotest is a continous testing facility meant to
466
468
  be used during development.
467
469
  minitest-bacon :: minitest-bacon extends minitest with bacon-like
@@ -504,7 +506,10 @@ minitest-great_expectations :: Generally useful additions to minitest's
504
506
  assertions and expectations.
505
507
  minitest-growl :: Test notifier for minitest via growl.
506
508
  minitest-happy :: GLOBALLY ACTIVATE MINITEST PRIDE! RAWR!
509
+ minitest-have_tag :: Adds Minitest assertions to test for the existence of
510
+ HTML tags, including contents, within a provided string.
507
511
  minitest-hooks :: Around and before_all/after_all/around_all hooks
512
+ minitest-hyper :: Pretty, single-page HTML reports for your Minitest runs
508
513
  minitest-implicit-subject :: Implicit declaration of the test subject.
509
514
  minitest-instrument :: Instrument ActiveSupport::Notifications when
510
515
  test method is executed.
@@ -525,6 +530,7 @@ minitest-metadata :: Annotate tests with metadata (key-value).
525
530
  minitest-mongoid :: Mongoid assertion matchers for Minitest.
526
531
  minitest-must_not :: Provides must_not as an alias for wont in
527
532
  Minitest.
533
+ minitest-optional_retry :: Automatically retry failed test to help with flakiness.
528
534
  minitest-osx :: Reporter for the Mac OS X notification center.
529
535
  minitest-parallel_fork :: Fork-based parallelization
530
536
  minitest-parallel-db :: Run tests in parallel with a single database.
@@ -539,6 +545,8 @@ minitest-rspec_mocks :: Use RSpec Mocks with Minitest.
539
545
  minitest-server :: minitest-server provides a client/server setup
540
546
  with your minitest process, allowing your test
541
547
  run to send its results directly to a handler.
548
+ minitest-sequel :: Minitest assertions to speed-up development and
549
+ testing of Ruby Sequel database setups.
542
550
  minitest-shared_description :: Support for shared specs and shared spec
543
551
  subclasses
544
552
  minitest-should_syntax :: RSpec-style +x.should == y+ assertions for
@@ -7,7 +7,7 @@ require "minitest/parallel"
7
7
  # :include: README.rdoc
8
8
 
9
9
  module Minitest
10
- VERSION = "5.8.3" # :nodoc:
10
+ VERSION = "5.8.4" # :nodoc:
11
11
  ENCS = "".respond_to? :encoding # :nodoc:
12
12
 
13
13
  @@installed_at_exit ||= false
@@ -139,9 +139,6 @@ module Minitest
139
139
  ##
140
140
  # Internal run method. Responsible for telling all Runnable
141
141
  # sub-classes to run.
142
- #
143
- # NOTE: this method is redefined in parallel_each.rb, which is
144
- # loaded if a Runnable calls parallelize_me!.
145
142
 
146
143
  def self.__run reporter, options
147
144
  suites = Runnable.runnables.shuffle
@@ -301,7 +301,7 @@ module Minitest
301
301
  rescue *exp => e
302
302
  pass # count assertion
303
303
  return e
304
- rescue Minitest::Skip
304
+ rescue Minitest::Skip, Minitest::Assertion
305
305
  # don't count assertion
306
306
  raise
307
307
  rescue SignalException, SystemExit
@@ -97,17 +97,17 @@ describe Minitest::Spec do
97
97
 
98
98
  msg = <<-EOM.gsub(/^ {6}/, "").chomp
99
99
  [RuntimeError] exception expected, not
100
- Class: <Minitest::Assertion>
101
- Message: <"Minitest::Assertion">
100
+ Class: <StandardError>
101
+ Message: <"woot">
102
102
  ---Backtrace---
103
103
  EOM
104
104
 
105
105
  assert_triggered msg do
106
- proc { raise Minitest::Assertion }.must_raise RuntimeError
106
+ proc { raise StandardError, "woot" }.must_raise RuntimeError
107
107
  end
108
108
 
109
109
  assert_triggered "msg.\n#{msg}" do
110
- proc { raise Minitest::Assertion }.must_raise RuntimeError, "msg"
110
+ proc { raise StandardError, "woot" }.must_raise RuntimeError, "msg"
111
111
  end
112
112
  end
113
113
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.8.3
4
+ version: 5.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Davis
@@ -29,7 +29,7 @@ cert_chain:
29
29
  qx3h45R1CAsObX0SQDIT+rRbQrtKz1GHIZTOFYvEJjUY1XmRTZupD3CJ8Q7sDqSy
30
30
  NLq5jm1fq6Y9Uolu3RJbmycf
31
31
  -----END CERTIFICATE-----
32
- date: 2015-11-17 00:00:00.000000000 Z
32
+ date: 2016-01-21 00:00:00.000000000 Z
33
33
  dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: rdoc
metadata.gz.sig CHANGED
Binary file