Clean database for testing, inspired by database_cleaner for Ruby (by khaiql)

Dbcleaner Alternatives

Similar projects and alternatives to dbcleaner

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better dbcleaner alternative or higher similarity.

dbcleaner reviews and mentions

Posts with mentions or reviews of dbcleaner. We have used some of these posts to build our list of alternatives and similar projects.
  • The Big Unit Test Misunderstanding
    1 project | news.ycombinator.com | 21 Mar 2022
    It is not hard to isolate and stub a database the problem is you will not catch a lot of errors, e.g. writing a 40 char string into a VCHAR(10), DateTime conversations, ...

    In Ruby on Rails it is quite common to use a real database in the unit tests. Even before containers came out and it is still fast (yes, less than 1 second).

    In rails you use the same database instance for all the tests, so you do not have spin up a database instance for every case. Instead you use a database cleaner.

    There also exists a JS implementation: https://github.com/khaiql/dbcleaner


Basic dbcleaner repo stats
over 2 years ago

khaiql/dbcleaner is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of dbcleaner is Go.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives