minitest 5.8.3 → 5.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/History.rdoc +6 -0
- data/README.rdoc +8 -0
- data/lib/minitest.rb +1 -4
- data/lib/minitest/assertions.rb +1 -1
- data/test/minitest/test_minitest_spec.rb +4 -4
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96c328838ba639909ac35ee478b39763102cd6d5
|
4
|
+
data.tar.gz: fce09e24ce3c5163f716015615ffa0f09545a938
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec2f4044d59911781853b13b40e75e9037d3bb48884f1791c2340e70bd82c633071c1a3839e14632d1e1a5b268118f03886845656ddf56f53cf0f8e9b2921a51
|
7
|
+
data.tar.gz: c62fdce145757dcc0c7e15c81a57c97ee2cdf13dda0884158d6ead82849ba35b6df1de06987db44fbbcb3e3288a91ad762cf49bbf94b0b048e9070c80db52552
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -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
|
data/lib/minitest.rb
CHANGED
@@ -7,7 +7,7 @@ require "minitest/parallel"
|
|
7
7
|
# :include: README.rdoc
|
8
8
|
|
9
9
|
module Minitest
|
10
|
-
VERSION = "5.8.
|
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
|
data/lib/minitest/assertions.rb
CHANGED
@@ -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: <
|
101
|
-
Message: <"
|
100
|
+
Class: <StandardError>
|
101
|
+
Message: <"woot">
|
102
102
|
---Backtrace---
|
103
103
|
EOM
|
104
104
|
|
105
105
|
assert_triggered msg do
|
106
|
-
proc { raise
|
106
|
+
proc { raise StandardError, "woot" }.must_raise RuntimeError
|
107
107
|
end
|
108
108
|
|
109
109
|
assert_triggered "msg.\n#{msg}" do
|
110
|
-
proc { raise
|
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.
|
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:
|
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
|