Devon C. Estes

Unit Tests in Elixir - Part 2

In part 1 of this series I went over a couple rules that I follow when writing unit tests. Now I'm going to dig in to some of the specifics of how to unit test certain types of behavior that can be a little tricky to do properly. »

Avoiding flaky tests in Phoenix

There is far and way a single assertion in ExUnit that is responsible for more test flakiness than any other. It's probably the culprit for more than half of all test failures that shouldn't fail. »

Writing custom Credo checks

I love automation of things. I especially love automating the simple parts of code review, since much of that stuff can be easily automated with static analysis tools. »