Skip to content

Draft: Test speedups

lain requested to merge test-speedup into develop

Two things:

  1. Replaces sleeping with 'time travelling' the objects, that is, backdating them in the db.
  2. 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

Merge request reports