awesome-rspec
github.com/darhazer/awesome-rspec ↗Curated list of awesome RSpec related resources
Use this list with your AI agent
Add the Context Awesome MCP server to Claude, Cursor, or any MCP client, then ask:
"Show me matchers resources from awesome-rspec"
Installation instructions →What's inside
Matchers
- action_mailer_matchers
RSpec matchers to test Rails' common ActionMailer functionality.
- active_record_change_matchers
Custom RSpec matchers for ActiveRecord record creation.
- db-query-matchers
RSpec matchers for database queries made by ActiveRecord.
- human_time
Time and date comparisons for humans.
- mongoid-rspec
RSpec matchers for Mongoid.
- n_plus_one_control
Matchers to ensure code doesn't produce N+1 queries.
Mocks
- active_mocker
Creates stub classes from any ActiveRecord model.
- bunny-mock
A mock client for RabbitMQ modeled after the Bunny client in ruby.
- mock5
Create and manage API mocks with Sinatra.
- mock_redis
- moctail
A mocking library for Ruby built with modern Ruby 3 APIs and with first-class support for type checking with Sorbet.
- mosoco
A minimalist stub & mock library.
Tools
- chefspec
Write RSpec examples and generate coverage reports for Chef recipes.
- crystallball
Regression Test Selection library for your RSpec test suite.
- database_cleaner
Strategies for cleaning databases in Ruby. Can be used to ensure a clean state for testing.
- database_rewinder
Minimalist and ultra-fast database cleaner.
- dockerspec
A small Ruby Gem to run RSpec and Serverspec, Infrataster and Capybara tests against Dockerfiles or Docker images easily.
- factory_bot
A library for building database records.
Style guides and linters
- Even better specs
An opinionated set of best practices to support the creation of tests that are easy to read and maintain.
- RSpec Style Guide
- rubocop-factory_bot
- rubocop-rspec
Parallel execution
- flatware
A parallel test runner for RSpec and Cucumber with pretty output.
- knapsack
Knapsack splits tests evenly across parallel CI nodes to run fast CI build and save you time.
- parallel_tests
Speedup tests by running parallel on multiple CPU cores.
- rspec-distrib
Run specs in parallel on multiple machines.
- rspecq
Distribute and run RSpec suites among parallel workers; for faster CI builds.
- test-queue
Parallel test runner for CI environments
Articles
Showing a sample of 67 resources. View the full list on GitHub →