Devon C. Estes

Unit Tests in Elixir - Part 3

In part 1 of this series I went over a couple rules that I follow when writing unit tests, and in part 2 I showed how to unit test GenServers. Today, though, we're gonna be getting our hands dirty and breaking some of those rules that I laid out in part 1. I mean, what good are rules if you don't break them every now and then! »

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. »

How I run tests

In recent weeks I've learned that it's not just writing tests that's important to me, but actually how I use them to benefit my development that matters as well. »