shoulda-matchers
simplecov
Our great sponsors
shoulda-matchers | simplecov | |
---|---|---|
5 | 1 | |
3,468 | 4,168 | |
0.2% | - | |
8.2 | 7.5 | |
14 days ago | over 3 years ago | |
Ruby | Ruby | |
MIT License | MIT License |
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.
shoulda-matchers
-
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
simplecov
What are some alternatives?
Capybara - Acceptance test framework for web applications
spellcheck-action - GitHub Action for checking code & Pull Requests for spelling mistakes
RSpec - RSpec meta-gem that depends on the other components
RSpec Tracer - RSpec Tracer is a specs dependency analyzer, flaky tests detector, tests accelerator, and coverage reporter tool for RSpec. It maintains a list of files for each test, enabling itself to skip tests in the subsequent runs if none of the dependent files are changed. It uses Ruby's built-in coverage library to keep track of the coverage for each test.
minitest - minitest provides a complete suite of testing facilities supporting TDD, BDD, mocking, and benchmarking.
Coverband - Ruby production code coverage collection and reporting (line of code usage)
Pundit Matchers - A set of RSpec matchers for testing Pundit authorisation policies.
capybara - Acceptance test framework for web applications [Moved to: https://github.com/teamcapybara/capybara]
Cutest - Isolated tests in Ruby.
Cucumber - A home for issues that are common to multiple cucumber repositories
Aruba - Test command-line applications with Cucumber-Ruby, RSpec or Minitest.
Emoji-RSpec - Custom Emoji Formatters for RSpec