RSSAmplifier

Peter Ullrich Blog · Oct 24, 2024

Easy Mocking in Elixir

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

Hey folks, today's article is a quick one, but let me start with the obligatory dad joke: What's red and bad for your teeth? A brick Alrighty, today's post is about a quick and easy approach to mocking in Elixir tests. Update: After publishing this blog post, my good friend and favourite nit-picker, Tobi Pfeiffer, pointed out on X that the "Mock" described here is actually a Stub. Unsurprisingly,…

Read on peterullrich.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.