Promox: Protocol-based mocks
Because of Protocol Consolidation, defining a Protocol-based mock in a test environment is harder than Behaviour-based mock.
So I wrote Promox to make that easier.
Surprisingly, Protocol-based mocks are actually easier to use. Check the docs and source code to see why:
- docs: https://hexdocs.pm/promox/0.1.0/readme.html
- source code: https://github.com/dsdshcym/promox
Read next Three real-world examples of distributed Elixir (pt. 2)