CinderellaMan

CinderellaMan

Elixir Mocks Rocks? Mox vs passing function. Short video opening discussion about FP

Hi everyone :wave:

In the meantime, as I’m working on a longer video I felt like I need to close the testing topic with some additional “conversation” video (something to think about).

This is a short video that looks into alternatives to using the Mox package. It takes into consideration passing the dependent function as a part of the initial process state. Then it passes a dependent function to process calls with logic hidden behind the interface functions. This video is a “teaser” to figure out what people think before a longer form functional programming dedicated video is released :wink:

Enjoy :heart:

Where Next?

Popular in Screencasts Top

zacksiri
Hey all! We just released 3 episodes on our site explaining how GenServer works. We also released a free episode that shows you how to s...
New
ElixirCasts
I made an episode where we implement passwordless authentication with the Veil library. You can watch it here: https://elixircasts.io/pa...
New
New
germsvel
:wave: Hi everyone, I’ve been posting short Elixir and Phoenix video tips and tricks for a little while on Twitter. But now, I’ve conso...
New
ityonemo
I’m doing a 7-part screencast that deep-dives into how Elixir (yup, that’s elixir, not erlang) does processes. Prerequisites are underst...
New
zacksiri
Hey Everyone We recently released a free episode and 4 member’s exclusive episode in our Elixir Foundation series. In this episode I tal...
New
anuragg
One of our users just created this screencast for deploy Elixir apps on Render. Hope it’s helpful! https://twitter.com/Alc...
New
calebjosue
I’ve made a video about installing Elixir 1.16.1 on WIndows 11. In case someone is interested here’s the link The video de...
New
aseigo
I am finally back with another episode of Exploring Elixir. Sorry for the long wait! My August was split between vacation and starting a ...
New
whatyouhide
Hey friends, today I published the first video of a new series I’m making, where I solve the challenges on Protohackers (see my tweet ann...
New

Other popular topics Top

aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
Nvim
Anybody knows a comprehensive comparison of Django and Phoenix, thanks for the help. Where are they similar? Where do they differ the m...
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 39297 209
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
klo
Got a question about when to concat vs. prepending items to list then reversing to achieve appending. So i know lists boil down to [1 | ...
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New

Latest on Elixir Forum

Elixir Forum

We're in Beta

About us Mission Statement