spectus
shoulda-matchers
spectus | shoulda-matchers | |
---|---|---|
1 | 5 | |
11 | 3,474 | |
- | 0.3% | |
4.7 | 8.2 | |
3 months ago | 10 days 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.
spectus
-
When a test tube conducts Ruby experiments 🧪
Today I'd like to introduce TestTube, a minimalist tool extracted from the Spectus expectation library to conduct surgical Ruby experiments 🧪
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
What are some alternatives?
FactoryTrace - Simple tool to maintain factories and traits from FactoryBot
Capybara - Acceptance test framework for web applications
factory_bot - A library for setting up Ruby objects as test data.
RSpec - RSpec meta-gem that depends on the other components
Aruba - Test command-line applications with Cucumber-Ruby, RSpec or Minitest.
minitest - minitest provides a complete suite of testing facilities supporting TDD, BDD, mocking, and benchmarking.
Knapsack - Knapsack splits tests evenly across parallel CI nodes to run fast CI build and save you time.
Pundit Matchers - A set of RSpec matchers for testing Pundit authorisation policies.
Bacon - a small RSpec clone
Cutest - Isolated tests in Ruby.
DuckRails - Development tool to mock API endpoints quickly and easily (docker image available)
Cucumber - A home for issues that are common to multiple cucumber repositories