How do you do dependency injection for Elixir GenServer?
I am building a GenServer in Elixir, let's say it's a simple Queue like this
defmodule Queue do
use GenServer
def start_link(name) do
GenServer.start_link(__MODULE__, :ok, name: name)
e...
Lightweight Dependency Injection In Elixir (Without the Tears)
In our last Elixir blog post, “Functional Mocks with Mox in Elixir”, we discussed how testing across module boundaries could be made easier by creating a Behaviour for a collaborating m…
Hey Everyone, moving forward with my Elixir and Test Automation experience, I’ve been working on some kind of new POC. I’ve been following two Elixir project...
The following challenge is the result of a social media post that went viral. Lots of people wanted to be a part of it. Therefore, I have thought of making it available to a larger audience, so that I can do my bit in helping the programming community. This challenge focuses on solving at least...
Joy of Elixir is a gentle introduction to programming, aimed at people who already know some things about computers, but who have little-to-no programming experience.