minitest 5.3.3 → 5.3.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: 4aceef550a127524766d1adec2b2c09e90cceca6
4
- data.tar.gz: a73ae540da8c8bcf1806e238c9c940f145ff779f
3
+ metadata.gz: b9a8da422df56a5f4b68979c5ecf3c54d44d9a3e
4
+ data.tar.gz: 596f74d0ab640f1e7158b74dfe21d90415561fc0
5
5
  SHA512:
6
- metadata.gz: 37ec5a609f28a0bb9cbb20cfec26a3d5cc591de9ab8e8bcfc1ebfda0c352bb2679946f2b53429d8e5f86b2aa38da9904b294c623c5b97dc2e50723eb166c2a01
7
- data.tar.gz: 0e3ec800aabda96727342e9fcedac231990093742935191eb1d20e6d133645603b053030be42459e1451a0437d78eb8df190912bb4ac36e273f0c5ca03d08cc8
6
+ metadata.gz: 519de248622c6de4c785b98cb4197e5e6a6cf86dc66987445dd1d247b8f1f0c11b625eb640d6b171dcf0c80a8be77229481a53d8bef9914ccd7dba0b43512958
7
+ data.tar.gz: 9937ee10f24a8c8a5b07eafc3471f54427bffbc43f7b9044d9403c752e06ce4b8327ec82a887b03a7f1af79aef7926b15a10b5e1109741fc5e12a06233eee3de
@@ -1,2 +1 @@
1
- qQ��p0�>,l|��wm#��b�-Y��9L�������u~i�*/n���mM���H�\A(��X�N��6��4�����t�扩 ��^
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
@@ -1,3 +1,9 @@
1
+ === 5.3.4 / 2014-05-15
2
+
3
+ * 1 minor enhancement:
4
+
5
+ * Test classes are randomized before running. (judofyr)
6
+
1
7
  === 5.3.3 / 2014-04-14
2
8
 
3
9
  * 1 bug fix:
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.
@@ -7,7 +7,7 @@ require "minitest/parallel"
7
7
  # :include: README.txt
8
8
 
9
9
  module Minitest
10
- VERSION = "5.3.3" # :nodoc:
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 = 1
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 "Expected: 2\n Actual: 1" do
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.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-04-14 00:00:00.000000000 Z
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.11'
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.11'
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