Mox — Mox v1.0.1 - HexDocs
https://hexdocs.pm/mox/Mox.html
Imagine that you have an app that has to display the weather. At first,you use an external API to give you the data given a lat/long pair: However, you want to test the code above without performing externalAPI calls. How to do so? First, it is important to define the Weatherbehaviour that we wantto mock. And we will define a proxy functions that will dispatch tothe desired imple… login
Imagine that you have an app that has to display the weather. At first,you use an external API to give you the data given a lat/long pair: However, you want to test the code above without performing externalAPI calls. How to do so? First, it is important to define the Weatherbehaviour that we wantto mock. And we will define a proxy functions that will dispatch tothe desired imple…
login
DA: 10 PA: 73 MOZ Rank: 15