Mocks and explicit contracts
Our test tools often make it very easy to abuse mocks. This post provides some guidelines on using them properly by relying on explicit contracts.
Our test tools often make it very easy to abuse mocks. This post provides some guidelines on using them properly by relying on explicit contracts.
Learn how to work with associations in Ecto, covering how to read, insert, update and delete associated schemas and embeds.
Elixir provides the concept of collections, which may be in-memory data structures, as well as events, I/O resources and more. All of this is powered by "reducees".
Functional languages are typically great languages for writing assertive code and Elixir is no exception.