2min chapter

Elixir Mix cover image

Building APIs - EMX 181

Elixir Mix

CHAPTER

XVCR

If you want to do browser based testing, you kind of go to Cylenium. I generally create like a browser test environment, a new mix environment or an API test environment. And in that environment, it makes actual API call. It doesn't use the XVCR and other things to like kind of block that and have its own tests That make a call and test the response basically make the call the module, module that makes API call and see what the response is. Also, this isn't even quite touched on when testing the more granular you can make the testing part of the API part of the code the better. For example, module A calls module B and module B usually

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode