3min chapter

Elixir Mix cover image

Optimizing the Elixir CI Pipeline with Szymon Soppa - EMx 188

Elixir Mix

CHAPTER

Code Coverage Is a Good Idea

I prefer 100% code coverage and explicitly ignoring files that you don't want to test, right? Because if you put 90% as a coverage, a new PR comes where you've tested only nine lines out of 10, it will still be accepted. But all your new PRs should be 100% tested, unless you explicitly add some under the coverall. I do have an endpoint test and a router test that we add to our Phoenix apps. We use that for load testing. So every Phoenix app you create from the template repositories, those tests get carried over. It's like zero effort to maintain it going forward. And this is pretty easy stuff because most of us use Git for

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