AgileVentures / AgileVentures/sing_for_needs

Add time travel for tests

Aberta
#116 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Elixir
Estrelas
4
Forks
12
Métricas de merge de PRs
Métricas de PR pendentes

Descrição

## Expected Behavior

In rails there is an inbuilt time travel implementation, and other alternatives like time cop. This is really great for tests. Is there really an [alternative for elixir](https://stackoverflow.com/questions/32903786/time-travel-and-time-freezing-in-elixir)?
## Current Behavior

Dates are hard coded for tests hence these tests are soon failing for the wrong when we are past some of these days.

## Possible Solution

See [timex](https://github.com/bitwalker/timex) or [time machinex](https://github.com/shinyscorpion/time_machinex)

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.