Welcome Tech
Read post

Exploring various approaches for testing external calls in Elixir

This article explores various approaches for testing external calls in Elixir, including monkey patching, using a fake HTTP server, employing mocks with behavior, and utilizing Mox. It discusses the strengths and limitations of each method and emphasizes the importance of testing business logic.

    #elixir#tech-news#testing
Oct 02, 2023•8m read time•From medium.com
Post cover image
Table of contents
Exploring various approaches for testing external calls in ElixirPresentation of the use caseTLDR: Summary tableNaive testsMore advanced testingExploring more
3 Impressions
Welcome Tech's image
Welcome Tech

Welcome to the Jungle (WTTJ) Blog offers insights, career advice, and workplace culture discussions ...

0 Followers

•

0 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard