timecop
rails_time_travel
Our great sponsors
timecop | rails_time_travel | |
---|---|---|
4 | 2 | |
3,334 | 17 | |
- | - | |
6.1 | 0.7 | |
19 days ago | about 1 year ago | |
Ruby | HTML | |
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.
timecop
-
About time: how to unit test code that depends on time
The Ruby equivalent is Timecop
https://github.com/travisjeffery/timecop
Dynamic languages have the advantage to be able to rewrite the standard library classes at runtime.
-
What questions do you consider important for a Ruby on Rails technical interview?
vs https://github.com/travisjeffery/timecop yes it's true and i am happy to show everybody that they don't need timecop in rails test suite anymore.
- What are your top useful gems?
-
Travel in time in development/staing/... in your Rails app
I believe you already familiar with the gem https://github.com/travisjeffery/timecop which is very useful for testing.
rails_time_travel
- Travel in time in development/staing/... in your Rails app
-
Weeks Interestings Round Up 1/17/2020
rails_time_travel gem - An interesting gem that allows you to change the clock on your Rails for testing. Seems like an interesting tool to use when you need to test out time based feature sets. https://github.com/igorkasyanchuk/rails_time_travel
What are some alternatives?
Parallel Tests - Ruby: 2 CPUs = 2x Testing Speed for RSpec, Test::Unit and Cucumber
OmniAuth - OmniAuth is a flexible authentication system utilizing Rack middleware.
vcr - Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
ecto_extras - Ecto helper functions.
R Spec - A minimalist RSpec clone with all the essentials. [Moved to: https://github.com/cyril/r_spec-clone.rb]
jumpstart - Easily jumpstart a new Rails application with a bunch of great features by default
Knapsack - Knapsack splits tests evenly across parallel CI nodes to run fast CI build and save you time.
awesome-rails - A curated list of awesome things related to Ruby on Rails
mutant - Automated code reviews via mutation testing - semantic code coverage.
activerecord-analyze - Add EXPLAIN ANALYZE to Rails Active Record query objects
Spring - Rails application preloader
handtrack.js - A library for prototyping realtime hand detection (bounding box), directly in the browser.