minitest-excludes 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/History.txt +6 -1
- data/README.txt +2 -2
- data/lib/minitest/excludes.rb +3 -3
- data/test/test_minitest_excludes.rb +7 -11
- data.tar.gz.sig +0 -0
- metadata +30 -24
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 213ef2d0abf1395178a8cb30bc94dd6f98de357130cbfd91681bd9b413390f18
|
4
|
+
data.tar.gz: d1a951f0160cfbc60fc9b8708c963f24e528fdf03f1b5943045607c3313d0fff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f90be41b2dc46e3d733cc55832d5dec1824d6dd5b0ea200a104780c63c5a3bfc408587f3cb3d6e8295c866d359271222e1d013d0dbbb8f473e33ffb8831761c3
|
7
|
+
data.tar.gz: d6c866320e29fc5fe372b7afbfe40d80482de229b1c117e677ce8c09acba3f6c887846db43f3a2ed2b9e913a0c328de05fa99336a3615887c59afa43bb92dfa0
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
=== 2.0.2 / 2022-10-06
|
2
|
+
|
3
|
+
* 1 bug fix:
|
4
|
+
|
5
|
+
* Updated minitest 4 references to minitest 5.
|
6
|
+
|
1
7
|
=== 2.0.1 / 2018-03-23
|
2
8
|
|
3
9
|
* 2 bug fixes:
|
@@ -35,4 +41,3 @@
|
|
35
41
|
* Don't keep using the env var, since bad tests may modify ENV w/o restoring it. (headius)
|
36
42
|
* Map X::Y to X/Y.rb for excludes to deal with nested test classes.
|
37
43
|
* Remove method instead of generating a skip to avoid setup/teardown overhead.
|
38
|
-
|
data/README.txt
CHANGED
@@ -5,7 +5,7 @@ rdoc :: http://docs.seattlerb.org/minitest-excludes
|
|
5
5
|
|
6
6
|
== DESCRIPTION:
|
7
7
|
|
8
|
-
minitest/excludes.rb extends
|
8
|
+
minitest/excludes.rb extends Minitest::Test to provide a
|
9
9
|
clean API for excluding certain tests you don't want to run under
|
10
10
|
certain conditions.
|
11
11
|
|
@@ -16,7 +16,7 @@ certain conditions.
|
|
16
16
|
|
17
17
|
== SYNOPSIS:
|
18
18
|
|
19
|
-
class TestXYZ <
|
19
|
+
class TestXYZ < Minitest::Test
|
20
20
|
def test_good
|
21
21
|
test that passes
|
22
22
|
end
|
data/lib/minitest/excludes.rb
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
require 'minitest/test'
|
2
2
|
|
3
3
|
module Minitest::Excludes # :nodoc:
|
4
|
-
VERSION = "2.0.
|
4
|
+
VERSION = "2.0.2" # :nodoc:
|
5
5
|
end
|
6
6
|
|
7
7
|
##
|
8
|
-
# minitest/excludes.rb extends
|
8
|
+
# minitest/excludes.rb extends Minitest::Test to provide a
|
9
9
|
# clean API for excluding certain tests you don't want to run under
|
10
10
|
# certain conditions.
|
11
11
|
#
|
12
12
|
# For example, in test/test_xyz.rb you have:
|
13
13
|
#
|
14
|
-
# class TestXYZ <
|
14
|
+
# class TestXYZ < Minitest::Test
|
15
15
|
# def test_good
|
16
16
|
# # test that passes
|
17
17
|
# end
|
@@ -3,6 +3,7 @@ require 'minitest/excludes'
|
|
3
3
|
|
4
4
|
class TestMinitestExcludes < MetaMetaMetaTestCase
|
5
5
|
def test_cls_excludes
|
6
|
+
Minitest.seed = 42 if Minitest.respond_to?(:seed=)
|
6
7
|
srand 42
|
7
8
|
old_exclude_base = Minitest::Test::EXCLUDE_DIR
|
8
9
|
|
@@ -14,13 +15,8 @@ class TestMinitestExcludes < MetaMetaMetaTestCase
|
|
14
15
|
|
15
16
|
s = 'exclude :test_test2, "because it is borked"'
|
16
17
|
|
17
|
-
File.
|
18
|
-
|
19
|
-
end
|
20
|
-
|
21
|
-
File.open File.join(path, "ATestCase/Nested.rb"), "w" do |f|
|
22
|
-
f.puts s
|
23
|
-
end
|
18
|
+
File.write File.join(path, "ATestCase.rb"), s
|
19
|
+
File.write File.join(path, "ATestCase/Nested.rb"), s
|
24
20
|
|
25
21
|
tc1 = tc2 = nil
|
26
22
|
|
@@ -41,14 +37,14 @@ class TestMinitestExcludes < MetaMetaMetaTestCase
|
|
41
37
|
|
42
38
|
@tus = [tc1, tc2]
|
43
39
|
|
44
|
-
assert_equal %w(test_test3
|
45
|
-
assert_equal %w(test_test1 test_test3), ATestCase::Nested.runnable_methods
|
40
|
+
assert_equal %w(test_test1 test_test3), ATestCase.runnable_methods.sort
|
41
|
+
assert_equal %w(test_test1 test_test3), ATestCase::Nested.runnable_methods.sort
|
46
42
|
|
47
43
|
expected = <<-EOM.gsub(/^ {8}/, '')
|
48
|
-
ATestCase#test_test1 = 0.00 s = .
|
49
44
|
ATestCase#test_test3 = 0.00 s = .
|
50
|
-
ATestCase
|
45
|
+
ATestCase#test_test1 = 0.00 s = .
|
51
46
|
ATestCase::Nested#test_test3 = 0.00 s = .
|
47
|
+
ATestCase::Nested#test_test1 = 0.00 s = .
|
52
48
|
|
53
49
|
Finished in 0.00
|
54
50
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-excludes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
13
|
+
MIIDPjCCAiagAwIBAgIBBjANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
|
14
14
|
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2w3SpO6YfB
|
29
|
+
JFmxn4h9YO/pVdB962BdBNNDia0kgIjI3ENnkLq0dKpYU3+F3KhEuTksLO0L6X/V
|
30
|
+
YsuyUzsMz6GQA4khyaMgKNSD
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date:
|
32
|
+
date: 2022-10-06 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: minitest
|
@@ -49,32 +49,38 @@ dependencies:
|
|
49
49
|
name: rdoc
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '4.0'
|
55
|
+
- - "<"
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '7'
|
55
58
|
type: :development
|
56
59
|
prerelease: false
|
57
60
|
version_requirements: !ruby/object:Gem::Requirement
|
58
61
|
requirements:
|
59
|
-
- - "
|
62
|
+
- - ">="
|
60
63
|
- !ruby/object:Gem::Version
|
61
64
|
version: '4.0'
|
65
|
+
- - "<"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '7'
|
62
68
|
- !ruby/object:Gem::Dependency
|
63
69
|
name: hoe
|
64
70
|
requirement: !ruby/object:Gem::Requirement
|
65
71
|
requirements:
|
66
72
|
- - "~>"
|
67
73
|
- !ruby/object:Gem::Version
|
68
|
-
version: '3.
|
74
|
+
version: '3.25'
|
69
75
|
type: :development
|
70
76
|
prerelease: false
|
71
77
|
version_requirements: !ruby/object:Gem::Requirement
|
72
78
|
requirements:
|
73
79
|
- - "~>"
|
74
80
|
- !ruby/object:Gem::Version
|
75
|
-
version: '3.
|
81
|
+
version: '3.25'
|
76
82
|
description: |-
|
77
|
-
minitest/excludes.rb extends
|
83
|
+
minitest/excludes.rb extends Minitest::Test to provide a
|
78
84
|
clean API for excluding certain tests you don't want to run under
|
79
85
|
certain conditions.
|
80
86
|
email:
|
@@ -97,8 +103,9 @@ files:
|
|
97
103
|
homepage: https://github.com/seattlerb/minitest-excludes
|
98
104
|
licenses:
|
99
105
|
- MIT
|
100
|
-
metadata:
|
101
|
-
|
106
|
+
metadata:
|
107
|
+
homepage_uri: https://github.com/seattlerb/minitest-excludes
|
108
|
+
post_install_message:
|
102
109
|
rdoc_options:
|
103
110
|
- "--main"
|
104
111
|
- README.txt
|
@@ -115,10 +122,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
122
|
- !ruby/object:Gem::Version
|
116
123
|
version: '0'
|
117
124
|
requirements: []
|
118
|
-
|
119
|
-
|
120
|
-
signing_key:
|
125
|
+
rubygems_version: 3.3.12
|
126
|
+
signing_key:
|
121
127
|
specification_version: 4
|
122
|
-
summary: minitest/excludes.rb extends
|
123
|
-
|
128
|
+
summary: minitest/excludes.rb extends Minitest::Test to provide a clean API for excluding
|
129
|
+
certain tests you don't want to run under certain conditions.
|
124
130
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|