1. Soft-Delete Pattern In Postgres

    You’re building a application on a Postgres database. At some point, you’ll be faced with the question: …


  2. Painless Phoenix Feature Tests

    Writing and maintaining feature tests can be very difficult, but they also provide an invaluable measure of confidence that your application works as expected. By following a few best practices, you can keep your feature test suite under control. …


  3. Concurrent Feature Tests with Phoenix and Hound

    With the release of Phoenix 1.2 and Ecto 2.0, we now have the ability run automated browser tests concurrently, even ones that that hit the database! I recently spent a couple hours getting this setup on a project so hopefully documenting everything here will save others some time. …