minitest 5.3.3 → 5.3.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 +1 -2
- data.tar.gz.sig +0 -0
- data/History.txt +6 -0
- data/README.txt +1 -0
- data/lib/minitest.rb +2 -2
- data/test/minitest/test_minitest_spec.rb +4 -3
- metadata +4 -4
- 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: b9a8da422df56a5f4b68979c5ecf3c54d44d9a3e
|
4
|
+
data.tar.gz: 596f74d0ab640f1e7158b74dfe21d90415561fc0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 519de248622c6de4c785b98cb4197e5e6a6cf86dc66987445dd1d247b8f1f0c11b625eb640d6b171dcf0c80a8be77229481a53d8bef9914ccd7dba0b43512958
|
7
|
+
data.tar.gz: 9937ee10f24a8c8a5b07eafc3471f54427bffbc43f7b9044d9403c752e06ce4b8327ec82a887b03a7f1af79aef7926b15a10b5e1109741fc5e12a06233eee3de
|
checksums.yaml.gz.sig
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
5������?�ӥ0���<<�*��zE��������F
|
1
|
+
�[��2�[n���%HʩH<n@nJ�矩�}%�d��B_Kv�H�`�TW2�I�|5J%���yd�d�����W�����ƣ̗��M���z��ty61���U�Z>�����~�ݟ���7����;-��~��W�}�����yV����k"7�;��p19�)���r���:M��`A��U��������$�a�~���iyc��{NQ/�I(�<��n���A33�\Q*��Or*m<M�X�����
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/README.txt
CHANGED
@@ -440,6 +440,7 @@ minitest-predicates :: Adds support for .predicate? methods.
|
|
440
440
|
minitest-rails :: Minitest integration for Rails 3.x.
|
441
441
|
minitest-rails-capybara :: Capybara integration for Minitest::Rails.
|
442
442
|
minitest-reporters :: Create customizable Minitest output formats.
|
443
|
+
minitest-rg :: Colored red/green output for Minitest.
|
443
444
|
minitest-rspec_mocks :: Use RSpec Mocks with Minitest.
|
444
445
|
minitest-should_syntax :: RSpec-style +x.should == y+ assertions for
|
445
446
|
Minitest.
|
data/lib/minitest.rb
CHANGED
@@ -7,7 +7,7 @@ require "minitest/parallel"
|
|
7
7
|
# :include: README.txt
|
8
8
|
|
9
9
|
module Minitest
|
10
|
-
VERSION = "5.3.
|
10
|
+
VERSION = "5.3.4" # :nodoc:
|
11
11
|
|
12
12
|
@@installed_at_exit ||= false
|
13
13
|
@@after_run = []
|
@@ -138,7 +138,7 @@ module Minitest
|
|
138
138
|
# loaded if a Runnable calls parallelize_me!.
|
139
139
|
|
140
140
|
def self.__run reporter, options
|
141
|
-
suites = Runnable.runnables
|
141
|
+
suites = Runnable.runnables.shuffle
|
142
142
|
parallel, serial = suites.partition { |s| s.test_order == :parallel }
|
143
143
|
|
144
144
|
# If we run the parallel tests before the serial tests, the parallel tests
|
@@ -791,8 +791,9 @@ class TestSpecInTestCase < MetaMetaMetaTestCase
|
|
791
791
|
def setup
|
792
792
|
super
|
793
793
|
|
794
|
+
Thread.current[:current_spec] = self
|
794
795
|
@tc = self
|
795
|
-
@assertion_count =
|
796
|
+
@assertion_count = 2
|
796
797
|
end
|
797
798
|
|
798
799
|
def assert_triggered expected, klass = Minitest::Assertion
|
@@ -824,8 +825,8 @@ class TestSpecInTestCase < MetaMetaMetaTestCase
|
|
824
825
|
end
|
825
826
|
|
826
827
|
def test_expectation_with_a_message
|
827
|
-
assert_triggered "
|
828
|
-
1.must_equal 2, ""
|
828
|
+
assert_triggered "woot.\nExpected: 2\n Actual: 1" do
|
829
|
+
1.must_equal 2, "woot"
|
829
830
|
end
|
830
831
|
end
|
831
832
|
end
|
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.3.
|
4
|
+
version: 5.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
@@ -29,7 +29,7 @@ cert_chain:
|
|
29
29
|
Y4evBVezr3SjXz08vPqRO5YRdO3zfeMT8gBjRqZjWJGMZ2lD4XNfrs7eky74CyZw
|
30
30
|
xx3n58i0lQkBE1EpKE0lFu/y
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date: 2014-
|
32
|
+
date: 2014-05-15 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: rdoc
|
@@ -51,14 +51,14 @@ dependencies:
|
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '3.
|
54
|
+
version: '3.12'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '3.
|
61
|
+
version: '3.12'
|
62
62
|
description: |-
|
63
63
|
minitest provides a complete suite of testing facilities supporting
|
64
64
|
TDD, BDD, mocking, and benchmarking.
|
metadata.gz.sig
CHANGED
Binary file
|