capybara_discoball
Database Cleaner
capybara_discoball | Database Cleaner | |
---|---|---|
1 | 3 | |
128 | 2,914 | |
0.0% | 0.1% | |
0.0 | 0.0 | |
over 2 years ago | 4 months ago | |
Ruby | Ruby | |
MIT License | MIT License |
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.
capybara_discoball
-
Testing Dependencies: Fake It While You Make It
We can use the FakeWeather API rather than the real one using a tool like capybara_discoball.
Database Cleaner
-
How a big application is usually tested regarding to its database data persistence? Also, tip on starting tests on existing codebase.
i'll introduce the gem https://github.com/DatabaseCleaner/database_cleaner.
- Como configurar ambiente de testes em Ruby on Rails com RSpec
-
10 Signs of a good Ruby on Rails Developer
If your are using gems like faker , factory_bot_rails and database_cleaner to create and clean test records then creating unnecessary records can cost you time and speed.
What are some alternatives?
vcr - Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
PgHero - A performance dashboard for Postgres
Appraisal - A Ruby library for testing your library against different versions of dependencies.
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.
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