Awesome Lists

timecop

by travisjeffery

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
View on GitHub

Embed the badge

Show how many awesome lists link to your project. The count updates automatically.

Awesome Lists badge
Markdown
[![Awesome Lists Badge](https://awesome.facts.dev/shield/travisjeffery/timecop/links.svg)](https://awesome.facts.dev/awesome/travisjeffery/timecop)
HTML
<a href="https://awesome.facts.dev/awesome/travisjeffery/timecop"><img src="https://awesome.facts.dev/shield/travisjeffery/timecop/links.svg" alt="Awesome Lists Badge" /></a>
Image URL
https://awesome.facts.dev/shield/travisjeffery/timecop/links.svg

Add a GitHub project

Missing a project or an awesome list? Paste its GitHub URL and we fetch it right away.