rails_time_travel
By igorkasyanchuk
timecop
A gem providing "time travel", "time freezing", and "time acceleration" capabilities, making it simple to test time-dependent code. It provides a unified method to mock Time.now, Date.today, and DateTime.now in a single call. (by travisjeffery)
rails_time_travel | timecop | |
---|---|---|
2 | 4 | |
17 | 3,335 | |
- | - | |
0.7 | 5.8 | |
about 1 year ago | 25 days ago | |
HTML | 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.
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.
rails_time_travel
Posts with mentions or reviews of rails_time_travel.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-18.
- 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
timecop
Posts with mentions or reviews of timecop.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-19.
-
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.