German is an independent software developer and product consultant. He loves Elixir’s functional style, but he loves the power of the BEAM even more. He loves to share what he learns with the community through writing, videos, and courses. You can find out more about him at https://www.germanvelasco.com/ and check out his Elixir/Phoenix content at https://ElixirStreams.com
There are many tools to mock in Elixir. Which should we use?
Mox, the blessed one? Or meck, the one that started it all? Or maybe you lean towards it’s spiritual successor, Mock? Or better yet, you like to Mimic?
Or… I know, you’re one of those punk-rock devs who likes to use protocols and mock with Promox or Protomock. Or maybe you’re just too hardcore for libraries, and you like to roll your own. Ah, I got it, you’re one of those “don’t mock me, bro” people.
Whichever camp you’re in (and trust me, I’ve been in a few of those), when was the last time you evaluated your approach? 🤔
Don’t worry, you don’t have to do all that homework. That’s what I’ve done – and I’m here to show you the results.
Let’s sit down, compare and contrast them, talk a little about how they work, and come up with a rubric for when you should choose one over another.
So join me, and you’ll never again have to wonder if you’re mocking the code or if the code is mocking you.
Key Takeaways:
Target Audience: