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

New
New
blackode
This video is about the step by step guide to build packages with clear explanation of package files and registration procees to hex.pm ...
New
ElixirCasts
I made an episode about deploying with Gigalixir. https://elixircasts.io/deploying-with-gigalixir
New
New
New
dgamidov
So cool! @pragdave New (short) screencast about making pipelines more functional with anonymous functions. https://pragdave.me/blog/201...
New
AstonJ
Not sure if this is still going but adding it for completeness. Who Is This For? You’re a programmer. You’ve heard of Elixir and ...
New
alvises
Hey friends, I’ve just published a screencast + article on how to use AWS S3 in Elixir with ExAws. I show how to put, get, list and del...
New
PJUllrich
For 2021, I decided to start a YouTube channel about coding with Elixir! Hurray! I learn best by teaching others, which is why I “challe...
New

Other popular topics Top

JDanielMartinez
Hi! May someone helps me, please! I have two apps into an umbrella project: the first one is Database, which manages queries, and the se...
New
sergio
In Ruby, I can go: User.find_by(email: "foobar@email.com").update(email: "hello@email.com") How can I do something similar in Elixir? ...
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
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
chrismccord
As promised, the first release candidate of Phoenix 1.3.0 is out! This release focuses on code generators with improved project structure...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
josevalim
Hi everyone, One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
Nvim
Elixir appears to be a superior language to Python. I don’t see any advantage of Python over Elixir. Are there any?
New

We're in Beta

About us Mission Statement