AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
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