RSpec
RSpec meta-gem that depends on the other components (by rspec)
shoulda-matchers
Simple one-liner tests for common Rails functionality (by thoughtbot)
Our great sponsors
RSpec | shoulda-matchers | |
---|---|---|
7 | 5 | |
2,867 | 3,468 | |
0.0% | 0.2% | |
0.0 | 8.2 | |
over 1 year ago | 13 days 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
Posts with mentions or reviews of RSpec.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-15.
-
Why Gherkin (Cucumber, SpecFlow,…) Always Failed with UI Test Automation?
RSpec is the most popular “Behaviour Driven Development for Ruby”. RSpec v3.8.0 alone has over 193 million downloads on RubyGems. While RSpec may also be used for unit or integration tests, its download count is quite impressive. As a comparison, the most-downloaded Cucumber v3.1.2 is merely 8.8 million.
-
10 Awesome Ruby Gems for Ruby on Rails Web Development
RSpec
-
Need help regarding ruby install on Mac
pry and rspec are gems. You had at least 3 rubies (system, rbenv, rvm), and each ruby puts its gems in a different folder. Your rspec might be in a folder for rbenv's ruby. If you switched to rvm's ruby, then bundle exec rspec would fail because rvm's ruby can't find rbenv's gems.
-
Introducing a new RSpec
this project is not rspec ](https://rubygems.org/gems/rspec, it is r_spec ](https://rubygems.org/gems/r_spec
-
49 Days of Ruby: Day 47 -- Testing Frameworks: RSpec
RSpec defines itself as:
-
Building Jekyll-Twitch, the gem
RSpec This is my favorite testing gem. I love how readable and well-organized the tests are.
shoulda-matchers
Posts with mentions or reviews of shoulda-matchers.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-20.
-
How to Use Shoulda Matchers with RSpec for Ruby on Rails
According to the shoulda-matchers documentation:
-
Rspec - should relations between model be tested?
The value of shoulda-matchers is right there in the first line of the README: "test common Rails functionality that, if written by hand, would be much longer, more complex, and error-prone."
-
Get help from thoughtbot for free (mentoring / office hours)
I work at thoughtbot, you might know us for our open source work like administrate, factory_bot or shoulda-matchers.
- Como configurar ambiente de testes em Ruby on Rails com RSpec
-
Top 5 Best Testing Ruby Gems For Building Ruby on Rails Web Application
4. Shoulda-matchers
What are some alternatives?
When comparing RSpec and shoulda-matchers you can also consider the following projects:
minitest - minitest provides a complete suite of testing facilities supporting TDD, BDD, mocking, and benchmarking.
Capybara - Acceptance test framework for web applications
Cucumber - A home for issues that are common to multiple cucumber repositories
Bacon - a small RSpec clone
Pundit Matchers - A set of RSpec matchers for testing Pundit authorisation policies.
Spinach - Spinach is a BDD framework on top of Gherkin.
Cutest - Isolated tests in Ruby.
RR - RR is a test double framework that features a rich selection of double techniques and a terse syntax. ⛺
Aruba - Test command-line applications with Cucumber-Ruby, RSpec or Minitest.