How to Use IEx.pry in Elixir Tests

Elixir's IEx.pry is a great debugging tool. It allows you to stop time ("pry") in the middle of your application in order to inspect the conditions in which your app is currently running. However, if you've ever had to try and use IEx.pry while running your Elixir tests using mix test, you've probably encountered a problem. It won't actually work. You may have seen an error similar to this:...