This repo is built as a companion to this article: https://sensaisean.medium.com/elixir-concurrent-testing-architecture-13c5e37374dc
This was tested on Elixir 1.10.4 on OTP version 23. To install:
- install asdf
- asdf-elixir
- asdf-erlang
- install erlang:
asdf plugin-add erlang https://github.com/asdf-vm/asdf-erlang.git && asdf install erlang 23.1
- install elixir:
asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git && asdf install elixir 1.10.4-otp-23
You'll also need to install postgres locally or in a docker container and tweak the values in config/test.exs
accordingly.
Run mix test
to run the tests in the branch you're interested in. This repo is a companion repo to (this article on Medium.]()