rspec-expectations
Provides a readable API to express expected outcomes of a code example (by rspec)
rspec-mocks
RSpec's 'test double' framework, with support for stubbing and mocking (by rspec)
rspec-expectations | rspec-mocks | |
---|---|---|
1 | 2 | |
1,259 | 1,160 | |
- | - | |
8.6 | 7.5 | |
4 months ago | 4 months ago | |
Ruby | Ruby | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rspec-expectations
Posts with mentions or reviews of rspec-expectations.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-09.
rspec-mocks
Posts with mentions or reviews of rspec-mocks.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-09.
- Relishapp is down, anyone knows what happened?
-
From Node to Ruby on Rails
It's nowhere near as equivalent, where's the behavior testing? Where stuff like allow_any_instance_of(...).to receive(...).and_return(...)? What about shared examples? How can you patch globally the current time?
Have a look on the examples here https://github.com/rspec/rspec-mocks
What are some alternatives?
When comparing rspec-expectations and rspec-mocks you can also consider the following projects:
rspec-core - RSpec runner and formatters
haven - Self-hostable private blogging
rspec-rails - RSpec for Rails 7+
RSpec - RSpec meta-gem that depends on the other components
Opal - Ruby ♥︎ JavaScript