Database Cleaner VS rspec-rails

Compare Database Cleaner vs rspec-rails and see what are their differences.

Database Cleaner

Strategies for cleaning databases in Ruby. Can be used to ensure a clean state for testing. (by DatabaseCleaner)

rspec-rails

RSpec for Rails 6+ (by rspec)
Our great sponsors
  • PopRuby - Clothing and Accessories for Ruby Developers
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
Database Cleaner rspec-rails
3 19
2,912 5,094
0.4% 0.5%
0.0 8.6
3 months ago 8 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.

Database Cleaner

Posts with mentions or reviews of Database Cleaner. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-04-21.

rspec-rails

Posts with mentions or reviews of rspec-rails. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-21.

What are some alternatives?

When comparing Database Cleaner and rspec-rails you can also consider the following projects:

PgHero - A performance dashboard for Postgres

Seed dump - Rails 4/5 task to dump your data to db/seeds.rb

Seed Fu - Advanced seed data handling for Rails, combining the best practices of several methods together.

Squasher - Squasher - squash your old migrations in a single command

SecondBase - Seamless second database integration for Rails.

Rack::Attack - Rack middleware for blocking & throttling

BatchLoader - :zap: Powerful tool for avoiding N+1 DB or HTTP queries

Redis Dashboard - Sinatra app to monitor Redis servers.

PgDriveBackup - Simple solution to make encrypted with ccrypt PostgreSQL backups and storing on Google Drive API

Seedbank - Seedbank gives your seed data a little structure. Create seeds for each environment, share seeds between environments and specify dependencies to load your seeds in order. All nicely integrated with simple rake tasks.

SchemaPlus - SchemaPlus provides a collection of enhancements and extensions to ActiveRecord

QueryTrack - Find time-consuming database queries for ActiveRecord-based RailsĀ Apps