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
- Matching argument on stub with range that cannot be iterated fails
- Prevent mutated args from failing have_received expectations
- Stubbing by a precondition
- stub_const fails to set name of stubbed Class if example is not in context
- Performance characteristic of and'ing matchers on expected args appears exponential
- Can't convert RSpec::Mocks::Double to String (RSpec::Mocks::Double#to_str gives RSpec::Mocks::Double)
- Spies create false positives when used with dynamic matchers
- Allow expectations on subclass any instance methods.
- Refinements break mocks
- Using mocks on methods with refinements fails
- Docs
- Subscribe to help with docs for this repo and come back later