freezegun VS timecop

Compare freezegun vs timecop and see what are their differences.

freezegun

Let your Python tests travel through time (by spulec)

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)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
freezegun timecop
9 4
3,972 3,335
- -
7.5 5.8
8 days ago 25 days ago
Python Ruby
Apache License 2.0 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.

freezegun

Posts with mentions or reviews of freezegun. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-19.

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.

What are some alternatives?

When comparing freezegun and timecop you can also consider the following projects:

time-machine - Travel through time in your tests.

Parallel Tests - Ruby: 2 CPUs = 2x Testing Speed for RSpec, Test::Unit and Cucumber

python-libfaketime - A fast time mocking alternative to freezegun that wraps libfaketime.

vcr - Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.

Moto - A library that allows you to easily mock out tests based on AWS infrastructure.

R Spec - A minimalist RSpec clone with all the essentials. [Moved to: https://github.com/cyril/r_spec-clone.rb]

VCR.py - Automatically mock your HTTP interactions to simplify and speed up testing

Knapsack - Knapsack splits tests evenly across parallel CI nodes to run fast CI build and save you time.

httpretty - Intercept HTTP requests at the Python socket level. Fakes the whole socket module

mutant - Automated code reviews via mutation testing - semantic code coverage.

mock - The Python mock library

Spring - Rails application preloader