Skip to main content

Curated list of awesome RSpec related resources

22
GitHub Stars
67
Curated Resources
8
Categories
2 hours ago
Last Refreshed
RSpecStyle guides and lintersBooksArticlesMatchersMocksParallel executionTools

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

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

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

Showing a sample of 67 resources. View the full list on GitHub →