rspec-mocks 3.0.4 → 3.12.6
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 +5 -5
- checksums.yaml.gz.sig +0 -0
- data/.document +1 -1
- data/.yardopts +1 -1
- data/Changelog.md +512 -2
- data/{License.txt → LICENSE.md} +5 -4
- data/README.md +113 -30
- data/lib/rspec/mocks/any_instance/chain.rb +5 -3
- data/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/lib/rspec/mocks/any_instance/expect_chain_chain.rb +1 -5
- data/lib/rspec/mocks/any_instance/expectation_chain.rb +9 -8
- data/lib/rspec/mocks/any_instance/message_chains.rb +7 -8
- data/lib/rspec/mocks/any_instance/proxy.rb +14 -5
- data/lib/rspec/mocks/any_instance/recorder.rb +61 -31
- data/lib/rspec/mocks/any_instance/stub_chain.rb +15 -11
- data/lib/rspec/mocks/any_instance/stub_chain_chain.rb +1 -5
- data/lib/rspec/mocks/any_instance.rb +1 -0
- data/lib/rspec/mocks/argument_list_matcher.rb +55 -10
- data/lib/rspec/mocks/argument_matchers.rb +88 -30
- data/lib/rspec/mocks/configuration.rb +61 -13
- data/lib/rspec/mocks/error_generator.rb +250 -107
- data/lib/rspec/mocks/example_methods.rb +151 -28
- data/lib/rspec/mocks/instance_method_stasher.rb +17 -6
- data/lib/rspec/mocks/matchers/have_received.rb +50 -20
- data/lib/rspec/mocks/matchers/receive.rb +39 -11
- data/lib/rspec/mocks/matchers/receive_message_chain.rb +22 -7
- data/lib/rspec/mocks/matchers/receive_messages.rb +12 -7
- data/lib/rspec/mocks/message_chain.rb +3 -7
- data/lib/rspec/mocks/message_expectation.rb +466 -307
- data/lib/rspec/mocks/method_double.rb +88 -29
- data/lib/rspec/mocks/method_reference.rb +85 -25
- data/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/lib/rspec/mocks/mutate_const.rb +50 -109
- data/lib/rspec/mocks/object_reference.rb +89 -32
- data/lib/rspec/mocks/order_group.rb +4 -5
- data/lib/rspec/mocks/proxy.rb +156 -60
- data/lib/rspec/mocks/space.rb +52 -35
- data/lib/rspec/mocks/standalone.rb +1 -1
- data/lib/rspec/mocks/syntax.rb +26 -30
- data/lib/rspec/mocks/targets.rb +55 -28
- data/lib/rspec/mocks/test_double.rb +43 -7
- data/lib/rspec/mocks/verifying_double.rb +27 -33
- data/lib/rspec/mocks/{verifying_message_expecation.rb → verifying_message_expectation.rb} +11 -16
- data/lib/rspec/mocks/verifying_proxy.rb +77 -26
- data/lib/rspec/mocks/version.rb +1 -1
- data/lib/rspec/mocks.rb +8 -1
- data.tar.gz.sig +0 -0
- metadata +80 -43
- metadata.gz.sig +0 -0
@@ -1,8 +1,22 @@
|
|
1
|
-
RSpec::Support.require_rspec_mocks '
|
1
|
+
RSpec::Support.require_rspec_mocks 'verifying_message_expectation'
|
2
2
|
RSpec::Support.require_rspec_mocks 'method_reference'
|
3
3
|
|
4
4
|
module RSpec
|
5
5
|
module Mocks
|
6
|
+
# @private
|
7
|
+
class CallbackInvocationStrategy
|
8
|
+
def call(doubled_module)
|
9
|
+
RSpec::Mocks.configuration.verifying_double_callbacks.each do |block|
|
10
|
+
block.call doubled_module
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
# @private
|
16
|
+
class NoCallbackInvocationStrategy
|
17
|
+
def call(_doubled_module)
|
18
|
+
end
|
19
|
+
end
|
6
20
|
|
7
21
|
# @private
|
8
22
|
module VerifyingProxyMethods
|
@@ -22,28 +36,28 @@ module RSpec
|
|
22
36
|
end
|
23
37
|
|
24
38
|
def ensure_implemented(method_name)
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
39
|
+
return unless method_reference[method_name].unimplemented?
|
40
|
+
|
41
|
+
@error_generator.raise_unimplemented_error(
|
42
|
+
@doubled_module,
|
43
|
+
method_name,
|
44
|
+
@object
|
45
|
+
)
|
31
46
|
end
|
32
47
|
|
33
|
-
def ensure_publicly_implemented(method_name,
|
48
|
+
def ensure_publicly_implemented(method_name, _object)
|
34
49
|
ensure_implemented(method_name)
|
35
50
|
visibility = method_reference[method_name].visibility
|
36
51
|
|
37
|
-
|
38
|
-
|
39
|
-
end
|
52
|
+
return if visibility == :public
|
53
|
+
@error_generator.raise_non_public_error(method_name, visibility)
|
40
54
|
end
|
41
55
|
end
|
42
56
|
|
43
57
|
# A verifying proxy mostly acts like a normal proxy, except that it
|
44
58
|
# contains extra logic to try and determine the validity of any expectation
|
45
59
|
# set on it. This includes whether or not methods have been defined and the
|
46
|
-
#
|
60
|
+
# validity of arguments on method calls.
|
47
61
|
#
|
48
62
|
# In all other ways this behaves like a normal proxy. It only adds the
|
49
63
|
# verification behaviour to specific methods then delegates to the parent
|
@@ -57,8 +71,8 @@ module RSpec
|
|
57
71
|
class VerifyingProxy < TestDoubleProxy
|
58
72
|
include VerifyingProxyMethods
|
59
73
|
|
60
|
-
def initialize(object, order_group,
|
61
|
-
super(object, order_group
|
74
|
+
def initialize(object, order_group, doubled_module, method_reference_class)
|
75
|
+
super(object, order_group)
|
62
76
|
@object = object
|
63
77
|
@doubled_module = doubled_module
|
64
78
|
@method_reference_class = method_reference_class
|
@@ -73,28 +87,42 @@ module RSpec
|
|
73
87
|
|
74
88
|
def method_reference
|
75
89
|
@method_reference ||= Hash.new do |h, k|
|
76
|
-
h[k] = @method_reference_class.
|
90
|
+
h[k] = @method_reference_class.for(@doubled_module, k)
|
77
91
|
end
|
78
92
|
end
|
79
93
|
|
80
94
|
def visibility_for(method_name)
|
81
95
|
method_reference[method_name].visibility
|
82
96
|
end
|
97
|
+
|
98
|
+
def validate_arguments!(method_name, args)
|
99
|
+
@method_doubles[method_name].validate_arguments!(args)
|
100
|
+
end
|
83
101
|
end
|
84
102
|
|
103
|
+
# @private
|
104
|
+
DEFAULT_CALLBACK_INVOCATION_STRATEGY = CallbackInvocationStrategy.new
|
105
|
+
|
85
106
|
# @private
|
86
107
|
class VerifyingPartialDoubleProxy < PartialDoubleProxy
|
87
108
|
include VerifyingProxyMethods
|
88
109
|
|
89
|
-
def initialize(object, expectation_ordering)
|
110
|
+
def initialize(object, expectation_ordering, optional_callback_invocation_strategy=DEFAULT_CALLBACK_INVOCATION_STRATEGY)
|
90
111
|
super(object, expectation_ordering)
|
91
112
|
@doubled_module = DirectObjectReference.new(object)
|
92
113
|
|
93
114
|
# A custom method double is required to pass through a way to lookup
|
94
115
|
# methods to determine their parameters.
|
95
116
|
@method_doubles = Hash.new do |h, k|
|
96
|
-
h[k] = VerifyingExistingMethodDouble.
|
117
|
+
h[k] = VerifyingExistingMethodDouble.for(object, k, self)
|
97
118
|
end
|
119
|
+
|
120
|
+
optional_callback_invocation_strategy.call(@doubled_module)
|
121
|
+
end
|
122
|
+
|
123
|
+
def ensure_implemented(_method_name)
|
124
|
+
return if Mocks.configuration.temporarily_suppress_partial_double_verification
|
125
|
+
super
|
98
126
|
end
|
99
127
|
|
100
128
|
def method_reference
|
@@ -119,7 +147,12 @@ module RSpec
|
|
119
147
|
end
|
120
148
|
|
121
149
|
def add_expectation(*args, &block)
|
122
|
-
#
|
150
|
+
# explicit params necessary for 1.8.7 see #626
|
151
|
+
super(*args, &block).tap { |x| x.method_reference = @method_reference }
|
152
|
+
end
|
153
|
+
|
154
|
+
def add_stub(*args, &block)
|
155
|
+
# explicit params necessary for 1.8.7 see #626
|
123
156
|
super(*args, &block).tap { |x| x.method_reference = @method_reference }
|
124
157
|
end
|
125
158
|
|
@@ -127,15 +160,12 @@ module RSpec
|
|
127
160
|
validate_arguments!(args)
|
128
161
|
super
|
129
162
|
end
|
130
|
-
|
131
|
-
private
|
163
|
+
ruby2_keywords :proxy_method_invoked if respond_to?(:ruby2_keywords, true)
|
132
164
|
|
133
165
|
def validate_arguments!(actual_args)
|
134
166
|
@method_reference.with_signature do |signature|
|
135
|
-
verifier = Support::
|
136
|
-
unless verifier.valid?
|
137
|
-
raise ArgumentError, verifier.error_message
|
138
|
-
end
|
167
|
+
verifier = Support::StrictSignatureVerifier.new(signature, actual_args)
|
168
|
+
raise ArgumentError, verifier.error_message unless verifier.valid?
|
139
169
|
end
|
140
170
|
end
|
141
171
|
end
|
@@ -155,16 +185,37 @@ module RSpec
|
|
155
185
|
|
156
186
|
# Trigger an eager find of the original method since if we find it any
|
157
187
|
# later we end up getting a stubbed method with incorrect arity.
|
158
|
-
|
188
|
+
save_original_implementation_callable!
|
159
189
|
end
|
160
190
|
|
161
191
|
def with_signature
|
162
|
-
yield Support::MethodSignature.new(
|
192
|
+
yield Support::MethodSignature.new(original_implementation_callable)
|
163
193
|
end
|
164
194
|
|
165
195
|
def unimplemented?
|
166
196
|
!@valid_method
|
167
197
|
end
|
198
|
+
|
199
|
+
def self.for(object, method_name, proxy)
|
200
|
+
if ClassNewMethodReference.applies_to?(method_name) { object }
|
201
|
+
VerifyingExistingClassNewMethodDouble
|
202
|
+
elsif Mocks.configuration.temporarily_suppress_partial_double_verification
|
203
|
+
MethodDouble
|
204
|
+
else
|
205
|
+
self
|
206
|
+
end.new(object, method_name, proxy)
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
# Used in place of a `VerifyingExistingMethodDouble` for the specific case
|
211
|
+
# of mocking or stubbing a `new` method on a class. In this case, we substitute
|
212
|
+
# the method signature from `#initialize` since new's signature is just `*args`.
|
213
|
+
#
|
214
|
+
# @private
|
215
|
+
class VerifyingExistingClassNewMethodDouble < VerifyingExistingMethodDouble
|
216
|
+
def with_signature
|
217
|
+
yield Support::MethodSignature.new(object.instance_method(:initialize))
|
218
|
+
end
|
168
219
|
end
|
169
220
|
end
|
170
221
|
end
|
data/lib/rspec/mocks/version.rb
CHANGED
data/lib/rspec/mocks.rb
CHANGED
@@ -87,12 +87,15 @@ module RSpec
|
|
87
87
|
|
88
88
|
# Call the passed block and verify mocks after it has executed. This allows
|
89
89
|
# mock usage in arbitrary places, such as a `before(:all)` hook.
|
90
|
+
#
|
91
|
+
# @return [Object] the return value from the block
|
90
92
|
def self.with_temporary_scope
|
91
93
|
setup
|
92
94
|
|
93
95
|
begin
|
94
|
-
yield
|
96
|
+
result = yield
|
95
97
|
verify
|
98
|
+
result
|
96
99
|
ensure
|
97
100
|
teardown
|
98
101
|
end
|
@@ -117,6 +120,10 @@ module RSpec
|
|
117
120
|
|
118
121
|
# Namespace for mock-related matchers.
|
119
122
|
module Matchers
|
123
|
+
# @private
|
124
|
+
# just a "tag" for rspec-mock matchers detection
|
125
|
+
module Matcher; end
|
126
|
+
|
120
127
|
autoload :HaveReceived, "rspec/mocks/matchers/have_received"
|
121
128
|
autoload :Receive, "rspec/mocks/matchers/receive"
|
122
129
|
autoload :ReceiveMessageChain, "rspec/mocks/matchers/receive_message_chain"
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,39 +1,51 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-mocks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.12.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Baker
|
8
8
|
- David Chelimsky
|
9
9
|
- Myron Marston
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain:
|
13
13
|
- |
|
14
14
|
-----BEGIN CERTIFICATE-----
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
15
|
+
MIIF1TCCA72gAwIBAgIJAPXjfUbCjdXUMA0GCSqGSIb3DQEBBQUAMIGAMQswCQYD
|
16
|
+
VQQGEwJVUzETMBEGA1UECAwKV2FzaGluZ3RvbjEQMA4GA1UEBwwHU2VhdHRsZTEO
|
17
|
+
MAwGA1UECgwFUlNwZWMxE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E-----
|
36
|
-
date:
|
48
|
+
date: 2023-07-11 00:00:00.000000000 Z
|
37
49
|
dependencies:
|
38
50
|
- !ruby/object:Gem::Dependency
|
39
51
|
name: rspec-support
|
@@ -41,56 +53,76 @@ dependencies:
|
|
41
53
|
requirements:
|
42
54
|
- - "~>"
|
43
55
|
- !ruby/object:Gem::Version
|
44
|
-
version: 3.
|
56
|
+
version: 3.12.0
|
45
57
|
type: :runtime
|
46
58
|
prerelease: false
|
47
59
|
version_requirements: !ruby/object:Gem::Requirement
|
48
60
|
requirements:
|
49
61
|
- - "~>"
|
50
62
|
- !ruby/object:Gem::Version
|
51
|
-
version: 3.
|
63
|
+
version: 3.12.0
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
name: diff-lcs
|
66
|
+
requirement: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 1.2.0
|
71
|
+
- - "<"
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '2.0'
|
74
|
+
type: :runtime
|
75
|
+
prerelease: false
|
76
|
+
version_requirements: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: 1.2.0
|
81
|
+
- - "<"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '2.0'
|
52
84
|
- !ruby/object:Gem::Dependency
|
53
85
|
name: rake
|
54
86
|
requirement: !ruby/object:Gem::Requirement
|
55
87
|
requirements:
|
56
|
-
- - "
|
88
|
+
- - ">"
|
57
89
|
- !ruby/object:Gem::Version
|
58
90
|
version: 10.0.0
|
59
91
|
type: :development
|
60
92
|
prerelease: false
|
61
93
|
version_requirements: !ruby/object:Gem::Requirement
|
62
94
|
requirements:
|
63
|
-
- - "
|
95
|
+
- - ">"
|
64
96
|
- !ruby/object:Gem::Version
|
65
97
|
version: 10.0.0
|
66
98
|
- !ruby/object:Gem::Dependency
|
67
99
|
name: cucumber
|
68
100
|
requirement: !ruby/object:Gem::Requirement
|
69
101
|
requirements:
|
70
|
-
- - "
|
102
|
+
- - ">="
|
71
103
|
- !ruby/object:Gem::Version
|
72
|
-
version: 1.3
|
104
|
+
version: '1.3'
|
73
105
|
type: :development
|
74
106
|
prerelease: false
|
75
107
|
version_requirements: !ruby/object:Gem::Requirement
|
76
108
|
requirements:
|
77
|
-
- - "
|
109
|
+
- - ">="
|
78
110
|
- !ruby/object:Gem::Version
|
79
|
-
version: 1.3
|
111
|
+
version: '1.3'
|
80
112
|
- !ruby/object:Gem::Dependency
|
81
113
|
name: aruba
|
82
114
|
requirement: !ruby/object:Gem::Requirement
|
83
115
|
requirements:
|
84
116
|
- - "~>"
|
85
117
|
- !ruby/object:Gem::Version
|
86
|
-
version: '
|
118
|
+
version: '1.1'
|
87
119
|
type: :development
|
88
120
|
prerelease: false
|
89
121
|
version_requirements: !ruby/object:Gem::Requirement
|
90
122
|
requirements:
|
91
123
|
- - "~>"
|
92
124
|
- !ruby/object:Gem::Version
|
93
|
-
version: '
|
125
|
+
version: '1.1'
|
94
126
|
- !ruby/object:Gem::Dependency
|
95
127
|
name: minitest
|
96
128
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,11 +146,12 @@ files:
|
|
114
146
|
- ".document"
|
115
147
|
- ".yardopts"
|
116
148
|
- Changelog.md
|
117
|
-
-
|
149
|
+
- LICENSE.md
|
118
150
|
- README.md
|
119
151
|
- lib/rspec/mocks.rb
|
120
152
|
- lib/rspec/mocks/any_instance.rb
|
121
153
|
- lib/rspec/mocks/any_instance/chain.rb
|
154
|
+
- lib/rspec/mocks/any_instance/error_generator.rb
|
122
155
|
- lib/rspec/mocks/any_instance/expect_chain_chain.rb
|
123
156
|
- lib/rspec/mocks/any_instance/expectation_chain.rb
|
124
157
|
- lib/rspec/mocks/any_instance/message_chains.rb
|
@@ -142,6 +175,7 @@ files:
|
|
142
175
|
- lib/rspec/mocks/message_expectation.rb
|
143
176
|
- lib/rspec/mocks/method_double.rb
|
144
177
|
- lib/rspec/mocks/method_reference.rb
|
178
|
+
- lib/rspec/mocks/minitest_integration.rb
|
145
179
|
- lib/rspec/mocks/mutate_const.rb
|
146
180
|
- lib/rspec/mocks/object_reference.rb
|
147
181
|
- lib/rspec/mocks/order_group.rb
|
@@ -152,14 +186,19 @@ files:
|
|
152
186
|
- lib/rspec/mocks/targets.rb
|
153
187
|
- lib/rspec/mocks/test_double.rb
|
154
188
|
- lib/rspec/mocks/verifying_double.rb
|
155
|
-
- lib/rspec/mocks/
|
189
|
+
- lib/rspec/mocks/verifying_message_expectation.rb
|
156
190
|
- lib/rspec/mocks/verifying_proxy.rb
|
157
191
|
- lib/rspec/mocks/version.rb
|
158
|
-
homepage:
|
192
|
+
homepage: https://github.com/rspec/rspec-mocks
|
159
193
|
licenses:
|
160
194
|
- MIT
|
161
|
-
metadata:
|
162
|
-
|
195
|
+
metadata:
|
196
|
+
bug_tracker_uri: https://github.com/rspec/rspec-mocks/issues
|
197
|
+
changelog_uri: https://github.com/rspec/rspec-mocks/blob/v3.12.6/Changelog.md
|
198
|
+
documentation_uri: https://rspec.info/documentation/
|
199
|
+
mailing_list_uri: https://groups.google.com/forum/#!forum/rspec
|
200
|
+
source_code_uri: https://github.com/rspec/rspec-mocks
|
201
|
+
post_install_message:
|
163
202
|
rdoc_options:
|
164
203
|
- "--charset=UTF-8"
|
165
204
|
require_paths:
|
@@ -175,10 +214,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
175
214
|
- !ruby/object:Gem::Version
|
176
215
|
version: '0'
|
177
216
|
requirements: []
|
178
|
-
|
179
|
-
|
180
|
-
signing_key:
|
217
|
+
rubygems_version: 3.4.1
|
218
|
+
signing_key:
|
181
219
|
specification_version: 4
|
182
|
-
summary: rspec-mocks-3.
|
220
|
+
summary: rspec-mocks-3.12.6
|
183
221
|
test_files: []
|
184
|
-
has_rdoc:
|
metadata.gz.sig
CHANGED
Binary file
|