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)

Timecop Alternatives

Similar projects and alternatives to timecop

  1. upm

    715 timecop VS upm

    ⠕ Universal Package Manager - Python, Node.js, Ruby, Emacs Lisp.

  2. Judoscale

    Save 47% on cloud hosting with autoscaling that just works. Judoscale integrates with Rails, Sidekiq, Solid Queue, and more to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up job queues.

    Judoscale logo
  3. dotenv

    23 timecop VS dotenv

    A Ruby gem to load environment variables from `.env`. (by bkeepers)

  4. Parallel Tests

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

  5. Sorcery

    10 timecop VS Sorcery

    Magical Authentication (by Sorcery)

  6. freezegun

    9 timecop VS freezegun

    Let your Python tests travel through time

  7. R Spec

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

  8. Spring

    8 timecop VS Spring

    Rails application preloader (by rails)

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. Lograge

    7 timecop VS Lograge

    An attempt to tame Rails' default policy to log everything.

  11. vcr

    25 timecop VS vcr

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

  12. Knapsack

    Knapsack splits tests evenly across parallel CI nodes to run fast CI build and save you time. (by ArturT)

  13. mutant

    5 timecop VS mutant

    Automated code reviews via mutation testing - semantic code coverage.

  14. dentaku

    math and logic formula parser and evaluator

  15. Ruby-JMeter

    Discontinued A Ruby based DSL for building JMeter test plans

  16. Zapata

    0 timecop VS Zapata

    An Automatic Automated Test Writer

  17. time-machine

    Travel through time in your tests.

  18. Victor

    2 timecop VS Victor

    Ruby SVG Image Builder

  19. Appraisal

    3 timecop VS Appraisal

    A Ruby library for testing your library against different versions of dependencies.

  20. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better timecop alternative or higher similarity.

timecop discussion

Log in or Post with

timecop reviews and mentions

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.

Stats

Basic timecop repo stats
4
3,390
5.6
4 months ago

travisjeffery/timecop is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of timecop is Ruby.


Sponsored
Save 47% on cloud hosting with autoscaling that just works
Judoscale integrates with Rails, Sidekiq, Solid Queue, and more to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up job queues.
judoscale.com

Did you know that Ruby is
the 12th most popular programming language
based on number of references?