timecop
Rubypushed about 2 years ago
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.
AI summary
time mocking library
Provides a unified method to mock time-dependent code
- stars
- 3.4K
- forks
- 225
- watching
- 32
- awesome lists
- 3
Featured in 3 awesome lists
Each link jumps to the spot where the list mentions timecop.