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.
Repository Index
142,187 visible repositories in the index
1–5 of 5 · Most stars
A mocking library for Erlang
- erlang
- testing
- mocking-library
- meck
A simple Elixir package to elegantly mock module functions within (asynchronous) ExUnit tests using Erlang's :meck library
- elixir
- mocking
- exunit
- meck
A testing library that allows "time travel," "freezing time," and "time acceleration". Inspired by the ruby-timecop library.
- testing
- timecop
- crystal
:moon_cake: A simple way to generate mocks for multiple purposes