Draft: Test speedups
Two things:
- Replaces sleeping with 'time travelling' the objects, that is, backdating them in the db.
- Replaces some Mocks with Mox. Mock / meck is quite slow, probably because it recompiles the modules twice. This also allows running tests in async mode that weren't possible before.
mix test on current develop: Finished in 108.8 seconds
mix test on this branch: Finished in 98.4 seconds
Edited by lain