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
- An exception is raised when invoking an `any_instance` expectation on a subclass that has an `any_instance` stub on its parent class
- Issue with respond_to_missing? being called on mock
- Errors rolling back stubbed any_instance methods if they were aliases from included modules
- Enhance error stacktrace for receive matcher
- stub_chain thread safety
- `receive` expectation: (optionally) enforce to specify whether a method should be stubbed
- Mocks appear to persist across context in rspec-mocks v 3.3.2
- Add cucumber documentation for class_spy and instance_spy
- [Feature] General stubbing with `.should_receive(anything)` or `double.as_null_object(:default_return)`
- SystemStackError when decoration is involved
- Docs
- Subscribe to help with docs for this repo and come back later