minitest 5.3.0 → 5.3.1
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 +2 -2
- data/History.txt +10 -0
- data/README.txt +66 -42
- data/lib/minitest.rb +1 -1
- data/lib/minitest/parallel.rb +1 -1
- data/lib/minitest/spec.rb +6 -3
- data/test/minitest/test_minitest_mock.rb +1 -1
- metadata +7 -7
- 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: f7e3e7acef0ac62b5f542ab83fb15fcaa4eca925
|
4
|
+
data.tar.gz: 9018a390ab4c339eaed0214402f4971c656a88f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2fab4375e4b7518369c9f7ab85429f483450fdccafdefa2ccf900953033d9e968c63c55ff52020b453110e5aa37ee88a825a1fec58f985546ef9c9a59be8dba
|
7
|
+
data.tar.gz: 67bc0baba49897561cc8011a7a18b7d313a2c5f9e9afbf2b5bfded423ba6b49611cfe303b1003c185cc96a9943baa7af020bf35273b404bc1281d57da27af9e2
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
EV�?�����#�ӭhX3��e���5�"q��sb*ťQ�z�o$�6����%0/F���f�,���{�9{H��h�x�R��N�* ��L��|�>B�$ĝ���ԓ6�B@�C���������cL#s�ݧ
|
2
|
+
8%i�t�ȭaXH��3�Z돷���z�L�Y�5�0�=\d��d��f60*�.De��+�}?�����.5��C���~hn��tQ&@���0����N�5��ܮF�ߪ=�`���T�a
|
data/History.txt
CHANGED
data/README.txt
CHANGED
@@ -382,67 +382,91 @@ for you, so make sure you don't do it twice.
|
|
382
382
|
|
383
383
|
== Known Extensions:
|
384
384
|
|
385
|
-
capybara_minitest_spec :: Bridge between Capybara RSpec matchers and
|
385
|
+
capybara_minitest_spec :: Bridge between Capybara RSpec matchers and
|
386
|
+
Minitest::Spec expectations (e.g.
|
387
|
+
page.must_have_content("Title")).
|
386
388
|
minispec-metadata :: Metadata for describe/it blocks
|
387
389
|
(e.g. `it "requires JS driver", js: true do`)
|
388
390
|
minitest-ansi :: Colorize minitest output with ANSI colors.
|
389
|
-
minitest-around :: Around block for minitest. An alternative to
|
390
|
-
|
391
|
-
minitest-
|
391
|
+
minitest-around :: Around block for minitest. An alternative to
|
392
|
+
setup/teardown dance.
|
393
|
+
minitest-capistrano :: Assertions and expectations for testing
|
394
|
+
Capistrano recipes.
|
395
|
+
minitest-capybara :: Capybara matchers support for minitest unit and
|
396
|
+
spec.
|
392
397
|
minitest-chef-handler :: Run Minitest suites as Chef report handlers
|
393
|
-
minitest-ci :: CI reporter plugin for
|
394
|
-
minitest-colorize :: Colorize
|
395
|
-
|
398
|
+
minitest-ci :: CI reporter plugin for Minitest.
|
399
|
+
minitest-colorize :: Colorize Minitest output and show failing tests
|
400
|
+
instantly.
|
401
|
+
minitest-context :: Defines contexts for code reuse in Minitest
|
396
402
|
specs that share common expectations.
|
397
403
|
minitest-debugger :: Wraps assert so failed assertions drop into
|
398
404
|
the ruby debugger.
|
399
|
-
minitest-display :: Patches
|
400
|
-
|
405
|
+
minitest-display :: Patches Minitest to allow for an easily
|
406
|
+
configurable output.
|
407
|
+
minitest-documentation :: Minimal documentation format inspired by rspec's.
|
401
408
|
minitest-doc_reporter :: Detailed output inspired by rspec's documentation
|
402
409
|
format.
|
403
|
-
minitest-emoji :: Print out emoji for your test passes, fails, and
|
404
|
-
|
410
|
+
minitest-emoji :: Print out emoji for your test passes, fails, and
|
411
|
+
skips.
|
412
|
+
minitest-english :: Semantically symmetric aliases for assertions and
|
413
|
+
expectations.
|
405
414
|
minitest-excludes :: Clean API for excluding certain tests you
|
406
415
|
don't want to run under certain conditions.
|
407
|
-
minitest-filesystem :: Adds assertion and expectation to help testing
|
408
|
-
|
409
|
-
minitest-
|
416
|
+
minitest-filesystem :: Adds assertion and expectation to help testing
|
417
|
+
filesystem contents.
|
418
|
+
minitest-firemock :: Makes your Minitest mocks more resilient.
|
419
|
+
minitest-great_expectations :: Generally useful additions to minitest's
|
420
|
+
assertions and expectations.
|
410
421
|
minitest-growl :: Test notifier for minitest via growl.
|
411
422
|
minitest-implicit-subject :: Implicit declaration of the test subject.
|
412
423
|
minitest-instrument :: Instrument ActiveSupport::Notifications when
|
413
|
-
test method is executed
|
414
|
-
minitest-instrument-db :: Store information about speed of test
|
415
|
-
|
424
|
+
test method is executed.
|
425
|
+
minitest-instrument-db :: Store information about speed of test execution
|
426
|
+
provided by minitest-instrument in database.
|
416
427
|
minitest-libnotify :: Test notifier for minitest via libnotify.
|
417
|
-
minitest-line :: Run test at line number
|
418
|
-
minitest-macruby :: Provides extensions to minitest for macruby UI
|
419
|
-
|
428
|
+
minitest-line :: Run test at line number.
|
429
|
+
minitest-macruby :: Provides extensions to minitest for macruby UI
|
430
|
+
testing.
|
431
|
+
minitest-matchers :: Adds support for RSpec-style matchers to
|
432
|
+
minitest.
|
420
433
|
minitest-metadata :: Annotate tests with metadata (key-value).
|
421
|
-
minitest-mongoid :: Mongoid assertion matchers for
|
422
|
-
minitest-must_not :: Provides must_not as an alias for wont in
|
423
|
-
|
424
|
-
minitest-
|
425
|
-
|
426
|
-
minitest-
|
427
|
-
minitest-
|
428
|
-
minitest-
|
429
|
-
minitest-
|
430
|
-
minitest-
|
431
|
-
minitest-
|
432
|
-
|
433
|
-
minitest-
|
434
|
-
|
435
|
-
minitest-
|
436
|
-
|
437
|
-
minitest-
|
438
|
-
|
434
|
+
minitest-mongoid :: Mongoid assertion matchers for Minitest.
|
435
|
+
minitest-must_not :: Provides must_not as an alias for wont in
|
436
|
+
Minitest.
|
437
|
+
minitest-nc :: Test notifier for minitest via Mountain Lion's
|
438
|
+
Notification Center.
|
439
|
+
minitest-predicates :: Adds support for .predicate? methods.
|
440
|
+
minitest-rails :: Minitest integration for Rails 3.x.
|
441
|
+
minitest-rails-capybara :: Capybara integration for Minitest::Rails.
|
442
|
+
minitest-reporters :: Create customizable Minitest output formats.
|
443
|
+
minitest-rspec_mocks :: Use RSpec Mocks with Minitest.
|
444
|
+
minitest-should_syntax :: RSpec-style +x.should == y+ assertions for
|
445
|
+
Minitest.
|
446
|
+
minitest-shouldify :: Adding all manner of shoulds to Minitest (bad
|
447
|
+
idea)
|
448
|
+
minitest-spec-context :: Provides rspec-ish context method to
|
449
|
+
Minitest::Spec.
|
450
|
+
minitest-spec-expect :: Expect syntax for Minitest::Spec (e.g.
|
451
|
+
expect(sequences).to_include :celery_man).
|
452
|
+
minitest-spec-magic :: Minitest::Spec extensions for Rails and beyond.
|
453
|
+
minitest-spec-rails :: Drop in Minitest::Spec superclass for
|
454
|
+
ActiveSupport::TestCase.
|
455
|
+
minitest-stub_any_instance :: Stub any instance of a method on the given class
|
456
|
+
for the duration of a block.
|
457
|
+
minitest-stub-const :: Stub constants for the duration of a block.
|
458
|
+
minitest-tags :: Add tags for minitest.
|
459
|
+
minitest-vcr :: Automatic cassette managment with Minitest::Spec
|
460
|
+
and VCR.
|
439
461
|
minitest-wscolor :: Yet another test colorizer.
|
440
462
|
minitest_owrapper :: Get tests results as a TestResult object.
|
441
463
|
minitest_should :: Shoulda style syntax for minitest test::unit.
|
442
|
-
minitest_tu_shim ::
|
443
|
-
mongoid-minitest ::
|
444
|
-
pry-rescue :: A pry plugin w/ minitest support. See
|
445
|
-
|
464
|
+
minitest_tu_shim :: Bridges between test/unit and minitest.
|
465
|
+
mongoid-minitest :: Minitest matchers for Mongoid.
|
466
|
+
pry-rescue :: A pry plugin w/ minitest support. See
|
467
|
+
pry-rescue/minitest.rb.
|
468
|
+
rspec2minitest :: Easily translate any RSpec matchers to Minitest
|
469
|
+
assertions and expectations.
|
446
470
|
|
447
471
|
== Unknown Extensions:
|
448
472
|
|
data/lib/minitest.rb
CHANGED
data/lib/minitest/parallel.rb
CHANGED
@@ -31,7 +31,7 @@ module Minitest
|
|
31
31
|
|
32
32
|
module ClassMethods
|
33
33
|
def run_one_method klass, method_name, reporter
|
34
|
-
|
34
|
+
Minitest.parallel_executor << [klass, method_name, reporter]
|
35
35
|
end
|
36
36
|
def test_order; :parallel; end
|
37
37
|
end
|
data/lib/minitest/spec.rb
CHANGED
@@ -224,9 +224,12 @@ class Minitest::Spec < Minitest::Test
|
|
224
224
|
|
225
225
|
def let name, &block
|
226
226
|
name = name.to_s
|
227
|
-
|
228
|
-
|
229
|
-
|
227
|
+
pre, post = "let '#{name}' cannot ", ". Please use another name."
|
228
|
+
methods = Minitest::Spec.instance_methods.map(&:to_s) - %w[subject]
|
229
|
+
raise ArgumentError, "#{pre}begin with 'test'#{post}" if
|
230
|
+
name =~ /\Atest/
|
231
|
+
raise ArgumentError, "#{pre}override a method in Minitest::Spec#{post}" if
|
232
|
+
methods.include? name
|
230
233
|
|
231
234
|
define_method name do
|
232
235
|
@_memoized ||= {}
|
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.1
|
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-03-14 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.10'
|
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.10'
|
62
62
|
description: |-
|
63
63
|
minitest provides a complete suite of testing facilities supporting
|
64
64
|
TDD, BDD, mocking, and benchmarking.
|
@@ -123,7 +123,6 @@ extra_rdoc_files:
|
|
123
123
|
- README.txt
|
124
124
|
files:
|
125
125
|
- .autotest
|
126
|
-
- .gemtest
|
127
126
|
- History.txt
|
128
127
|
- Manifest.txt
|
129
128
|
- README.txt
|
@@ -149,6 +148,7 @@ files:
|
|
149
148
|
- test/minitest/test_minitest_reporter.rb
|
150
149
|
- test/minitest/test_minitest_spec.rb
|
151
150
|
- test/minitest/test_minitest_unit.rb
|
151
|
+
- .gemtest
|
152
152
|
homepage: https://github.com/seattlerb/minitest
|
153
153
|
licenses:
|
154
154
|
- MIT
|
@@ -170,8 +170,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
170
170
|
- !ruby/object:Gem::Version
|
171
171
|
version: '0'
|
172
172
|
requirements: []
|
173
|
-
rubyforge_project:
|
174
|
-
rubygems_version: 2.
|
173
|
+
rubyforge_project:
|
174
|
+
rubygems_version: 2.0.14
|
175
175
|
signing_key:
|
176
176
|
specification_version: 4
|
177
177
|
summary: minitest provides a complete suite of testing facilities supporting TDD,
|
metadata.gz.sig
CHANGED
Binary file
|