Method: Speculation::Test.check_method

Defined in:
lib/speculation/test.rb

.check_method(method, spec, opts = {}) ⇒ Hash

Runs generative tests for method using spec and opts.

Parameters:

  • method (Method)
  • spec (Spec)
  • opts (Hash) (defaults to: {})

Returns:

  • (Hash)

See Also:



114
115
116
117
# File 'lib/speculation/test.rb', line 114

def self.check_method(method, spec, opts = {})
  validate_check_opts(opts)
  check1(S.Identifier(method), spec, opts)
end