rspec-mocks
https://github.com/rspec/rspec-mocks
Ruby
RSpec's 'test double' framework, with support for stubbing and mocking
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
10 Subscribers
Add a CodeTriage badge to rspec-mocks
Help out
- Issues
- Stub attempts to call method on Class'es superclass when method accepts keyword arguments on Ruby 2.7
- 3.11.1 breaks argument matching in Ruby 2.7
- Mocked singleton methods are bound to the mocked class and thus don't respect inheritance
- Kernel.warn when using Forwardable delegators with a null object
- When using keyword arguments in mock expectations and calling with a hash the diff is confusing
- Impossible to check that method is executed in a range times.
- Mocks dont raise keyword argument errors
- Prevent mocks leaking out of their scope when mocked more than once in different nested scopes.
- deprecate any_instance_of family of methods
- Add deprecation warnings for features to be removed/changed in RSpec 4
- Docs
- Subscribe to help with docs for this repo and come back later