timecop

timecop

travisjeffery

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.

3.4k Stars
227 Forks
3.4k Watchers
Ruby Language
mit License
Cost to Build
$31.5K
Market Value
$137.9K

Growth over time

26 data points  ·  2018-09-01 → 2025-04-01
Stars Forks Watchers
💬

How do you feel about this project?

Ask AI about timecop

Question copied to clipboard

What is the travisjeffery/timecop GitHub project? Description: "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.". Written in Ruby. Explain what it does, its main use cases, key features, and who would benefit from using it.

Question is copied to clipboard — paste it after the AI opens.

How to clone timecop

Clone via HTTPS

git clone https://github.com/travisjeffery/timecop.git

Clone via SSH

[email protected]:travisjeffery/timecop.git

Download ZIP

Download master.zip

Found an issue?

Report bugs or request features on the timecop issue tracker:

Open GitHub Issues