1. 2 replies
  2. This is really neat. I don't have an established pattern for this yet - i tend to roll it ad-hoc each time. maybe this is what i need :)

  3. Published my first Elixir package! https://hexdocs.pm/mock_behaviour/MockBehaviour.html

    TLDR - use Behaviour to easily maintain code sanity and use mocks to determine the boundaries of your system and keep your tests running quickly, while only testing the external dependencies in their own self-contained test suite (this package will not do the latter for you, but it will help with the former)