DatabaseCleaner/database_cleaner

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

RubyGherkinShellrubytestingtesting-toolsdatabase-cleaner
This is stars and forks stats for /DatabaseCleaner/database_cleaner repository. As of 19 Apr, 2024 this repository has 2885 stars and 490 forks.

Database Cleaner Database Cleaner is a set of gems containing strategies for cleaning your database in Ruby. The original use case was to ensure a clean state during tests. Each strategy is a small amount of code but is code that is usually needed in any ruby app that is testing with a database. Gem Setup Instead of using the database_cleaner gem directly, each ORM has its own gem. Most projects will only need the database_cleaner-active_record gem: # Gemfile group :test do gem 'database_cleaner-active_record' end If...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
lxgw/LxgwWenKaiBatchfileShellPython14k+444230
opencomputeproject/Time-Appliance-ProjectVHDLTclC1.3k0890
B-Lang-org/bscHaskellBluespecEmacs Lisp81701400
polygraphene/DirtyPipe-AndroidCShellC++66901200
open62541/open62541CCMakePython2.2k01.1k0
redis/redisCTclPython61.8k023k0
kenzok8/small-packageCJavaScriptShell848+6587+1
microsoft/WSL2-Linux-KernelCAssemblyShell7k09270
upx/upxC++AssemblyC12.2k01.2k0
esnet/iperfCShellMakefile5.7k01.2k0